
Announcements
Hi all,
what is the easiest way to upload an image to a SharePoint via PowerApps?
Scenario:
I have some SharePoint lists with products and other information and would like to add an image to them.
Currently, I have a couple lists which are connected via their IDs.
Should I do the same with the product images? What would you recommend here?
Any help is appreciated!
Hi,
I will pretend that you are not using SharePoint as a relational database 🙂
You will find many an article on how to upload an image to SharePoint on the web but the main takeaways for me are:
SharePoint wants it as binary, which PowerApps will not provide without further manipulation within a Flow using datauritobinary.
Picture Libraries tend to work best as they are geared towards images.
With the above you will be able to surface the image in the Power App by way of the Link to Item property.
However you may find that the image does not render when viewing on a mobile device. That is where it can become a good practice to not only upload the image but to also place the datauri value in a text column in the same list and have image controls looking to that value and this way it should display on mobile devices also.
In terms of controls to facilitate capturing an image. You can use the camera controls, surface the taken shot in an image control and reference the image control, as your upload point.
Or you can even use the Add File Control and upload images that way.
Or if you want to get really creative I have seen people use a SharePoint List for the purpose of making use of the attachment control that you get by way of a SharePoint list.
Here are some useful links: