I have an offline/online app that writes to a collection, saves to the device, then when online uploads to sharepoint. Works fine however now need to add attachments and signature. example of the save to device looks like,
Collect(MyCollection, {Title: Employee_ED.Selected.Value,PO: PO_ED.Text});SaveData(MyCollection,"MyCollectKeep") then i use,
ForAll(MyCollection, Patch(SharepointListDB, Defaults(SharepointListDB),{Site: Site,PO: PO}))
Is there a way to include images into this list? I have tried using flows but it wont save to the list, will only save to Document library. I need to be able to have the image and the other fields (title, PO) in the same entry. Any advice or direction would be much appreciated.
Kind regards,
Matt
In Power Apps, you need to use the JSON function to Convert PenInput to Binary.
Set( PenVar, JSON( PenInput1.Image,JSONFormat.IncludeBinaryData ) );
You can then use the 'Add an attachment' action to add the attachment to SharePoint List. You can also have a quick look at my video https://www.youtube.com/watch?v=V8LpZpPGtV8
In the video I create an HTML\PDF you can use the same concept in your solution.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
In Power Automate, you can use Add attachment to add attachments to the list item.
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2