Hi
I have a requirement for users to upload files directly to Azure Blob Storage and for back office user to view the upload files from within Model Driven App.
I have followed the following links to setup the integration between Azure Blob Storage and PowerPages /Model Drive App
1. https://learn.microsoft.com/en-us/power-pages/configure/enable-azure-storage
2. https://learn.microsoft.com/en-us/power-pages/configure/add-web-resource
I tried creating an HTML Webresource from link #2 but cannot find adx_annotations/adx.annotations.html. How do locate adx.annotation.html file? How do I view uploaded files in Azure Blob Storage in Model Driven Apps?
When I upload files from Power Pages I do see files been upload to Azure Blob Storage Container. It creates a root folder with some long GUID number and folder name that is the GUID of the Note record in Dataverse and the file in that folder.
Where is Power Pages getting the root folder GUID from? Can that been overwritten and also the Note Folder names as well?
I feel like the whole experience of Document Management with Azure is really lacking in Power Pages and Model Driven App. Please provide some recommendations.
adx_annotations/adx.annotations.html
file in your existing resources, you may need to create a custom HTML Web Resource for handling file uploads. Follow these steps:
Settings -> Customizations -> Customize the System
.Hi @CloudNavigator,
I would use PA to get a trigger once a request is fully completed and use the OOB Connector to move these files into the blob. It seems that you can create a folder structure or rather it is automatically generated for you by using PA (Community Post ).
Power Pages is from my point of perspective low code as long as you use it for static pages or only with forms and views. If you want to add something else it becomes more like a hybrid and you will need a general understanding of webdevelopment at least.
--------------------------------------------------------------------------------------
Hope that helps.
If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.
Hi @Lucas001 @Fubar We are not using Dynamics 365. I was thinking of using the File column its plays well in Power Pages and Model Driven App and then once the request is complete move it to my Azure Blob Storage. Do you recommend this approach? I would prefer to have a folder structure like Customer -> Request -> Files. Is it possible to customize how Folders are structured with using OOB integration between Power Pages and Azure Blob Storage. I do not see how all this is low code no code which is what Microsoft is selling to everyone.
I am trying to figure out the root folder that gets created with a long folder name looks like a some GUID number without the dashes. Do we know where Power Pages is getting that folder name from?
Hi @CloudNavigator,
could you try what Fubar mentioned and see if that solves the issue?
I would try to connect both solutions. Using the second link it should be possible to connect the account and the item in your blob. Depending on how easy it is to use the folder with the long GUID, I would suggest to at least rename it for further processing.
Regarding the SAS Token this page could help: https://learn.microsoft.com/en-us/azure/ai-services/translator/document-translation/how-to-guides/create-sas-tokens?tabs=Containers
I don't know if it supported to add the blob item as html webresource to your MDA.
I don't know if this will help, but if you install the Dynamics 365 Customer Self Service portal, it will install the adx.annotataions.html (and also the corresponding JS and CSS web resources, and azure blob upload js). I suspect it is also in other Dynamics 365 ones also, but I installed self service last week and the Web Resources are there.
We also have a need for user to download files using a SAS Token.
Hi @Lucas001 are you suggesting not to use the OOB Integration Microsoft provides? What did you use to unable internal users to view files that are in Azure Blob Storage from Model Drive App?
Hi @CloudNavigator,
we have a quiet similar usecase.
What we do is using a integrated cloud flow within our powerpage and our MDA to Create,Update or Delete items from the Blob storage. You can use the connector which is easy to handle.
Maybe that's an option for you.
--------------------------------------------------------------------------------------
Hope that helps.
If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.
WarrenBelz
146,771
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional