cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
neill_long
Helper V
Helper V

Flow to Create a PDF

Hello

 

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

 

Alistair

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,057)