I am trying to export a signature from PowerApps to a PDF that I am sending to my OneDrive.
I am really not sure where to start. I have written the HTML to export all other fields so I would need help writing the HTML to export the Signature to the PDF.
Thanks in advance!
Does the similar topics below help?
What format is your Signature in? Are you trying to get the image of the signature in the PDF file?
You can try and use Microsoft Power Automate as well to help with this.
I am just using the built-in Signature box in powerapps. I am not sure what format that is in. Those posts don't give too much detail about how to export the signature. I would just need to export an image of the signature to an HTML which then gets converted to a PDF. Then I have a Power Automate that converts that HTML to a PDF.
Any help of where to even start will be awesome.
You can pretend it's just like any other Image control and reference YourPenInput.Image
Check out example below where we take the Signature of Pen Input, and actually place the Image into an Image Control!
So you can just do it the same way you would if it were an Image Control instead of a Pen Input.
...I would just need to export an image of the signature to an HTML which then gets converted to a PDF. Then I have a Power Automate that converts that HTML to a PDF....
Send that image to a Power Automate Flow and you can use the Flow to achieve the rest.
You can use YourPenInput.Image as one of the arguments to your Flow - it should be the contents of your signature as an image - then you may have what you need and what you asked for at that point
Thanks for the suggestion.
Currently I have all of my form data being written into HTML in the PowerApp. Once the data is entered in the PowerApp, the HTML is submitted and that kicks off a Power Automate Flow that will convert this HTML to a PDF and store the PDF in SharePoint.
If I write a Power Automate Flow to convert that PenInput into an image for my PDF, how would I link the two Flows in order to get the image on my PDF with my my data?
Is there a way to display that PenInput as an image in HTML before I kick off the flow that converts HTML to PDF?
You probably can do all of it in just one Flow.
Try converting the Image to base64 string at some point in your Flow and putting the base64 string into HTML - then converting to PDF.
For more details:
Try some combination of the stuff done in this thread:
and also consult possibly this thread for context:
In your mind for the below: replace the words "Azure Logic Apps" with "Power Automate" (or Flow) - these expressions should be supported in Power Automate
To preserve some data types, Logic Apps converts content to a binary base64-encoded string with appropriate metadata that preserves both the $content payload and the $content-type, which are automatically converted.
This list describes how Logic Apps converts content when you use these functions:
Does above help?
Find your favorite faces from the community presenting at the Power Platform Community Conference!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021