I have a Flow connected to my PowerApp that when a button is clicked it will create a PDF and save the PDF to SharePoint.
The users have reported that the first time they click the PDF button in the morning, the PDF comes through blank and they have to click the button again for the PDF to come through fine.
This is only happening when they use it for the first time off that day.
This is the formula on the PowerApps button
Set(varLoad,true); Collect(HTML, Gallery1_1.Selected); 'Copyof-InputListPDFCreate-2'.Run(HtmlText2.HtmlText, "Scrutiny " & Gallery1_1.Selected.BRef & " " & Gallery1_1.Selected.Title & " " & Text(Gallery1_1.Selected.Created, "[$-en-GB]dd/mm/yyyy")); Clear(HTML); Set(varLoad,false)
I'm at a loss as to why it would come through blank as it should collect the data from the selected item in the gallery. Would anyone have any suggestions as to why this would be happening?
thanks in advance
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.