Hi everyone,
I’m trying to implement a “Sign In” and “Sign Out” signature process in my PowerApp, and I’m running into an issue when updating an existing record.
Sign In Screen
I have a form (Form1_1) used for registration.
I replaced the signature DataCardValue with a PenInput control.
On the submit button, I capture the signature as JSON:
Set( VarBlob, JSON( InputSignature.Image, JSONFormat.IncludeBinaryData ) ); If( Form1_1.Valid, SubmitForm(Form1_1); ResetForm(Form1_1) );
The DataCard Update property uses VarBlob.
This works correctly and stores the Sign In signature in SharePoint.
Sign Out Screen
This screen uses a Gallery to select an existing registered record.
The form (Form2) is initially in View mode.
The user clicks an Edit button → this changes Form2 to Edit mode.
For the Sign In signature (Image control), I display it correctly using:
Substitute(ThisItem.Signature, """", "")
Adding the Sign Out signature
I added another PenInput for the Sign Out signature.
I used similar logic to capture the signature:
Set( VarBlob2, JSON( PenInput1.Image, JSONFormat.IncludeBinaryData ) ); SubmitForm(Form2);
The Update property of the SignOut Signature DataCard uses VarBlob2
When I click the submit button, Form2 fails to save. I receive an “Invalid Patch” or data type error.
It seems the PenInput JSON is not being accepted when updating an existing item through a form.
Thank you for your response. I tried to dig into the issue step by step, and I focused on the date and time datacard in the new modern form. What I noticed is that even when I try to manually enter the date and time for the user checking out (without using the “sign in” or “sign out” signatures), the same error still appears and the form does not submit.
I think I’ve found the cause of the problem, but I’m not completely sure how to fix it.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Chiara Carbone as our Community Spotlight for November…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 624 Most Valuable Professional
Michael E. Gernaey 381 Super User 2025 Season 2
developerAJ 225