Hello All,
I have a problem and I am unable to find any solution to this.
I use standard PowerApps control (AddMediaWithImage) to upload and save image as base64 in text field on one of the SharePoint column.
I am able to display the image as Image control.
One of the users would like to Save this image to his computer (usually right-click and Save Image As, or Save As). However this is not recognized as image, and therefore cannot be saved like this. I tried to use OnSelect and Download - however you need to have URL to achieve this.
My last idea is to engage PowerAutomate, and send the email with image attached to the user who clicks the image, however this is way not as expected for the end users.
Anyone has any idea how to save images kept as base64 to Hard Drive/Device?
Solved! Go to Solution.
Without an on-premises data gateway I don't think you'll be able to save it to the hard drive. But what you could do is use Power Automate to save the image to SharePoint or OneDrive and give the user a sharing link from that location. They would then be able to use the link to download the image.
Without an on-premises data gateway I don't think you'll be able to save it to the hard drive. But what you could do is use Power Automate to save the image to SharePoint or OneDrive and give the user a sharing link from that location. They would then be able to use the link to download the image.
Thanks for quick reply - This is another scenario I wanted to avoid - to keep the images in 2 places at the same time - but this may be the best one (better than the email) 🙂
One of the other image strategies for SharePoint is to save the image in a document library and add the URL to that image to the SharePoint list instead of the Base64 string. Then you would have a URL you could give to the users for download. That URL can also be used in Power Apps for the image control.
Thanks! this is exactly what I did - I have reworked solution to resign from Base64, and moved into sharepoint links.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
191 | |
67 | |
46 | |
41 | |
22 |
User | Count |
---|---|
252 | |
121 | |
84 | |
80 | |
73 |