Hi All,
I am working on an app where users can view and update a single work item which is shown as a custom scrolling Form connected to a SharePoint List.
I am trying to add a capability where users can upload screenshots for their work item which will then get saved back to SharePoint list, and then displayed back in the Power App when they come back to reference it.
I have seen tutorials online which either use the built in "Add Picture" functionality or use the Attachments Control from the Form. I have tried converting the image to Binary format and then used a Patch() function to write this format to a Multi-Line Text column. However, when I tried to view the screenshot in an "Image" control, it does not display anything.
In the "Add Picture" control, this is the formula I have:
Set(ImageBinaryRaw, JSON(UploadedImage2.Image, IncludeBinaryData));
Set(ImageBinary, Mid(ImageBinaryRaw, Find(",", ImageBinaryRaw) +1, Len(ImageBinaryRaw)-Find(",", ImageBinaryRaw)-1));
In the On Select of my button, I have the following where Test is the column I am storing the image data:
Patch('Work Items', LookUp('WorkItems', ID = HiddenIDLabel.Text), {Test: ImageBinary})
Can anyone tell me if what I am trying to do (upload image to Power Apps, then also view the image in Power Apps) is possible and if so, can you please guide me how I can accomplish this?
Thanks so much.

Report
All responses (
Answers (