It's been 3 days and I'm stuck on this problem.
I need the user to submit a new form and be able to add signatures from the PenInput as attachments to the submitted form on SharePoint.
I am adding the pen inputs to a collection and then converting it to a JSON file with binary values, after that I am creating a flow to add the attachments to the sharepoint list.
The problem here is, when i'm calling the flow in powerapps, and I try to use Form6.LastSubmit.ID to pass the ID of the last submitted form, it does nothing.
If I hard code it, say put 20 as the ID , then the flow works fine and adds the attachments to the item with ID 20.
P.S: in the flow, i've tried both scenarios i.e for ID, asking powerapps for the value and adding a step to pass a number to create an object then use that passed value to get an item from sharepoint and using that in ID.
Hi @kandibawa ,
Do you want to update sharepoint Attachments by using saved signatures?
I'm afraid it's not supported currently in powerapps.
You could only use Attachments control to update sharepoint Attachments.
And using Attachments control, you could only choose pictures in local.
As an alternative way, I suggest you add a hyderlink column in your sharepoint list and then update saved signatures to hyderlink column.
You could use this formula to update:
If you want to display the signature in your sharepoint form, you could insert a image control in your hyderlink datacard.
Set the Image's Image:
Then the image control will display the signature.