Configure web resource in CDS/ Dynamics 365 form to show documents uploaded in Azure storage in PowerApps/ Dynamics 365 Portals

The is the second blog of this series. If you are on this blog and have missed out on the first one, I request you to go through the previous one to be  fully aware of the context.

Want to leverage Azure storage for your documents in PowerApps/ Dynamics 365 portals instead of Notes? Check this out

So now that we have configured the portal and azure storage settings in the previous blog, it’s time to make modification on the Dynamics 365/ CDS side

There is no provision in Dynamics 365 to store documents in CDS/ Dynamics 365. Hence we need to put in the some extra configurations in there.

Open the contact form of you choice that you are going to show in the portal. In there I insert a tab specifically to store the Azure documents and add a webresource – adx_annotations.html in there as show in the below screenshot.

image

Don’t miss out the custom parameter – azureEnabled=true

Now when we open the same record in CDS/ Dynamics 365, the file shows up. Observe the cloud icon in the file which shows that image file is being uploaded in Azure storage.

image

Some very cool features but again not everyone aware of it. Hope this one helps!

You might also like the below posts

Debajit Dutta

(Business solutions MVP)

For training and consulting please reach out to us  at info@xrmforyou.com