Hello,
I'm trying to build an parts approval app where users can approve or reject parts and download a PDF report for these items. I've reached a point where I can generate a report for one gallery item using Shane Young's process (linked below) where you send the selected item to an HTML text control and then use a flow to convert this to a PDF stored in SharePoint, but I want to add in the ability to generate multiple reports at once.
My intension is for the user to select the items they need from a gallery with a checkbox control which adds that item to a collection. I've tried finding a way to send each of the items in the collection to the HTML Text control but nothing I've tried has worked.
I have found another post which seems to be about the same problem (linked below), but I've not been able to get this to work. The commenter says to use the JSON function on the collection, but this just returns an error for me saying "The JSON function cannot serialize tables / objects with a nested property called '{Attachments}' of type 'Table {Attachment}'.
This is my first project working with PowerApps and Power Automate, so any help would be greatly appreciated.
Due to internal requirements, every single item needs it's own report so a table wouldn't be suitable.
Create a PDF from SharePoint Data using Power Apps and Power Automate flow for free - YouTube
Solved: Generate a PDF of multiple selected list items in ... - Power Platform Community (microsoft.com)