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!
Solved! Go to Solution.
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
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
Thank you so much! That helped me realize the issue and also helped me with figuring out the delegation issue. Thanks!
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!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
243 | |
122 | |
83 | |
83 | |
67 |