cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DC14
Regular Visitor

patching a signature to sharepoint list

I have a pen input that saves a signature into a variable (varBlob3). This is created on success of a click of a button Set(varBlob3,JSON(PenInput3.Image,JSONFormat.IncludeBinaryData)).

 

I want to patch the link (data:image/png:base64...to a column in sharepoint. On my submit button, I use this formula: Patch('Service Report PDF', First(Filter('Service Report PDF', Customer=DataCardValue39.Text)), {CustomerSignature:varBlob3}) but it's not updating in my Sharepoint list.

 

Any ideas? Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @DC14 ,

Assuming you have checked the Variable varBlob3 to ensure you actually have data in it, put this on a Label

First(
   Filter(
      'Service Report PDF', 
      Customer=DataCardValue39.Text
   )
).ID

and see if it displays the ID of the record you want to patch to.

You can also use

LookUp(
   'Service Report PDF', 
   Customer=DataCardValue39.Text
).ID

to avoid the Delegation warning

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @DC14 ,

Assuming you have checked the Variable varBlob3 to ensure you actually have data in it, put this on a Label

First(
   Filter(
      'Service Report PDF', 
      Customer=DataCardValue39.Text
   )
).ID

and see if it displays the ID of the record you want to patch to.

You can also use

LookUp(
   'Service Report PDF', 
   Customer=DataCardValue39.Text
).ID

to avoid the Delegation warning

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

DC14
Regular Visitor

Thank you so much! That helped me realize the issue and also helped me with figuring out the delegation issue. Thanks!

DC14
Regular Visitor

One follow-up question. I got it to work but the first time I had someone out in the field collecting a signature, it didn't save to the Sharepoint list. Is there any way of recovering the data that was collected in the variable? Thanks!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,452)