I'm having trouble getting a pdf generated from a Sharepoint custom form in Powerapps. I generate an HTML document in Powerapps and then use a Flow to save it and convert it to a pdf. When I run the Flow it tests fine. In Powerapps there are no errors with the code. When I press the button that runs the process nothing seems to happen. Here is the code for the button:
PDFButton.Run("Record Number -" & BrowseGallery1.Selected.ID, PDFExport.HtmlText, "Record Number -" & IDValue)
I've also attached the code for PDFExport.HtmlText that creates the html in Powerapps. Any suggestions would be greatly appreciated.