
So I have an app that saves uploaded and camera images to a sharepoint list. It works fine and I can view the images in a gallery. But my main question is: Is there a way to view these images in a document?
This is the code that saves the image's Url to a SharePoint List. I convert the Images from the AddImage control into Base 64 so they're similar to the one the Camera function uses:
And here is the SharePoint List:
I've heard that these images are stored in OneDrive but I can't seem to find them. When I go to OneDrive and then go to the Site that I have the list in I don't see anything for the images in that list.
Is there any way to view these images as images in a document?
Hi @Mgodby,
Do you want to save the camera taken pictures in powerapps as a picture file?
If so, you need to use flow.
Just using powerapps, you could only save the camera taken pictures to sharepoint list as the data that you showed: "data:image/jpeg;base64,/9j/.....".
But it is not a pic file actually. It is just a binary data. You could only use it directly in powerapps ,like displaying in gallery.
If you want to use it as a pic file in doc, you need to use flow.
In flow, there's an action named "create file". It can use the binary data to create a jpg file.
You could update the jpg file to sharepoint document, not excel doc.
Here's a doc about how to create a jpg file by using the picture taken in powerapps and save the file to sharepoint document:
If you have any problems about how to create this flow, you could post your issue in flow forum:
https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity
Best regards,