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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,679)