web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Uploading Signature to...
Power Apps
Unanswered

Uploading Signature to sharepoint

(0) ShareShare
ReportReport
Posted on by 14

Hi,

 

I have an app that looks at a sharepoint list for data. I have added a signature box so users can accept the Terms and Conditions. What is the best way to get this signature emailed out as an attachment?

 

I plan to have the signature emailed out to a shared mailbox or myself and then a flow to import that attachment to the sharepoint list item it need to go to. Currently when I hit the submit button it simply just updates the list with any changes made.

 

SubmitForm(EditForm1)

 

I am new to powerapps and still finding my way around it all 🙂

 

Thank you

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @RUSH123 

    Here’s an article I wrote  that shows how to capture a signature and save it to SharePoint.

    https://matthewdevaney.com/capture-a-signature-with-power-apps-pen-input-and-save-to-sharepoint/

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    v-yangar-msft Profile Picture
    Microsoft Employee on at

    Hi @RUSH123 ,

     

    Based on your description, I do test in my side and it can meet your requirements. Here is the detailed steps for your reference:

    1. Add a Edit Form and set the SharePoint list as Data source, add a pen input control, add a button:
    v-yangar-msft_0-1610012845611.png

     

     

    1. We should save the pen input image in a JSON format asking the JSON function to include Binary Data:

    Set(PenVar,JSON(Signature.Image,JSONFormat.IncludeBinaryData))

    1. Then strip the save JSON from the JSON format to only leave the 64 Bit encoded image:

    Set(PenInput64Bit,Mid(PenVar,24,Len(PenVar)-24))

    1. Create two flows: an Automated cloud flow and an Instant cloud flow,  Automated cloud flow was named  â€˜AddattachmentToSP’, Instant cloud flow named was ‘SignatureInSP’.
    2. We can use ‘SignatureInSP’ to save the signature in sharepoint and send an email with a signature attachment as below:
    v-yangar-msft_1-1610012845637.png

     

                 

    Use ‘AddattachmentToSP’ flow to save the signature to the SharePoint list Attachment:

    v-yangar-msft_2-1610012845648.png

     

     

    v-yangar-msft_3-1610012845654.png

     

    1. Finally, you can set the OnSelect of Button as below to run the Instant cloud flow ‘SignatureInSP’ :

    Set(PenVar,JSON(Signature.Image,JSONFormat.IncludeBinaryData));Set(PenInput64Bit,Mid(PenVar,24,Len(PenVar)-24));Reset(Signature);SubmitForm(Form1);NewForm(Form1); SignatureInSP.Run(PenInput64Bit)

    1. The result as below for your reference:

    Sample of the email you received when you complete a signature:

    v-yangar-msft_4-1610012845655.png

     

    The attachment in SharePoint list:

    v-yangar-msft_5-1610012845656.png

     

     

    Hope it helps!

     

    Best Regards,
    Arrow

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard