I have Azure SQL database and a Azure Blob storage with images, I have put a link to the image in a field in my SQL table. In PowerApps when I set the image container to the field I get a white screen. How can I link an image in blob storage in PowerApps?
How did you set the Image property of image control?
Is the URL you said as shown below? Could you please share the image link field in the SQL table as an example?
If so, I am afraid it is not supported to show the image directly through the URL, because it requires authentication.
As an alternative workaround, if you want to display the image in Azure Blob Storage and the container name and image filename are known, you can use Azure Blob Storage connector to get the image.
please try this:
1. put the following codes to a button OnSelect property, to trigger it manually, then you will get the container ID and Image File ID, if you enter the correct Container Name and Image Name.
Set(VarContainerID,LookUp(AzureBlobStorage.ListRootFolderV2().value,Name=<"Container Name">).Id); Set(VarImageID,LookUp(AzureBlobStorage.ListFolderV2(VarContainerID).value,Name=<"Image Name">).Id)
2. add an image control, set the image property as below, then the image file will be shown.
Hope this helps.
So I didn't do the work around, the blob storage that I was working with was my own personal storage account, I was able to change the permissions for the storage account. The pictures were able to show when I changed the access. Thanks for your help anyway!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.