cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
arpit_vijay
New Member

How to Save Signature from Pen Control in Canvas App to Dynamics 365 text/image field

Hi,

I have a pen control field in my power app form which is used to record signature and then I want it to move to cds record. But when I am viewing the entity in CDS after submitting the form it is showing me value instead of image. I have inserted this pen control signature to text field  and image field.  I am getting below  output in text field.  While Image data type showing nothing.
Current Output: "appres://blobmanager/01ee5b6d6ace4ec8ab5245fe039bf916/8" 

Requested Output : Image


 

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @arpit_vijay 

 

What is the expression that you are using on the Update property of Text and Image fields?

 

Can you try to update the configuration to:

PenInput -> OnSelect -> Set(ImageData,JSON(PenInput1.Image,JSONFormat.IncludeBinaryData))

Use ImageData variable instead of PenInput1.Image. ImageData variable stores the base64 content of the image.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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