cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ciprianpopovici
Helper II
Helper II

Save signature to Sharepoint List Column then use in Flow

Hello 

I have a powerapp form, and  need to save the signature (from pen input control) to sharepoint List , than later use this column from sharepoint in flow to populate a word document.

I manage to save Base64 image from powerapps to MultipleLine text field column in sharepoint , but i'm stuck at building the flow to populate image in word document.

Can anyone help me here, or should i put a post on powerautomate forum?

 

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @ciprianpopovici ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

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 @ciprianpopovici ,

Create a jpg file in OneDrive using base64ToBinary from the text field content, get that file content and use it for the content of the Word merge field. One important issue - if you have only stripped the leading and trailing quotes (so you can see the image in Power Apps), this will not work - you need to strip the header as well with code like this (forget the flow at the end).

 

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

 

 

WarrenBelz
Super User
Super User

Hi @ciprianpopovici ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

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

Hello, sorry for my late response , i made multiple  tests using your guide,(with different formats of base64 ) and i find that using the base64 in this format bellow , the flow it's working and it's creating my word template , that later it's converted to pdf.

 

I use this code in PowerApps on submit button to save signature:

Set(varBase64Pen1,
JSON(PenInput3.Image,JSONFormat.IncludeBinaryData)
);

and give the multiple line text column in Sharepoint (named base64), the value of this variable(varBasePen1).

Later i use this multiple line text field in my flow like in the picture.

ciprianpopovici_0-1639028020635.png

 

Thank again for your help.

 

the format it's like this, with all the characters. 

 

"data:image/png;base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AsZNKk7PECBAgAABAsaNDhAgQIAAAQIpAeMmFadnCBAgQIAAAeNGBwgQIECAAIGUgHGTitMzBAgQIECAgHGjAwQIECBAgEBKwLhJxekZAgQIECBAwLjRAQIECBAgQCAlYNyk4vQMAQIECBAgYNzoAAECBAgQIJASMG5ScXqGAAECBAgQMG50gAABAgQIEEgJGDepOD1DgAABAgQIGDc6QIAAAQIECKQEjJtUnJ4hQIAAAQIEjBsdIECAAAECBFICxk0qTs8QIECAAAECxo0OECBAgAABAikB4yYVp2cIECBAgAAB40YHCBAgQIAAgZSAcZOK0zMECBAgQICAcaMDBAgQIECAQErAuEnF6RkCBAgQIEDAuNEBAgQIECBAICVg3KTi9AwBAgQIECBg3OgAAQIECBAgkBIwblJxeoYAAQIECBAwbnSAAAECBAgQSAkYN6k4PUOAAAECBAgYNzpAgAABAgQIpASMm1ScniFAgAABAgSMGx0gQIAAAQIEUgLGTSpOzxAgQIAAAQLGjQ4QIECAAAECKQHjJhWnZwgQIECAAAHjRgcIECBAgACBlIBxk4rTMwQIECBAgIBxowMECBAgQIBASsC4ScXpGQIECBAgQMC40QECBAgQIEAgJWDcpOL0DAECBAgQIGDc6AABAgQIECCQEjBuUnF6hgABAgQIEDBudIAAAQIECBBICRg3qTg9Q4AAAQIECBg3OkCAAAECBAikBIybVJyeIUCAAAECBIwbHSBAgAABAgRSAsZNKk7PECBAgAABAsaNDhAgQIAAAQIpAeMmFadnCBAgQIAAAeNGBwgQIECAAIGUgHGTitMzBAgQIECAgHGjAwQIECBAgEBKwLhJxekZAgQIECBAwLjRAQIECBAgQCAlYNyk4vQMAQIECBAgYNzoAAECBAgQIJASMG5ScXqGAAECBAgQMG50gAABAgQIEEgJGDepOD1DgAABAgQIGDc6QIAAAQIECKQEHilpKRym80ReAAAAAElFTkSuQmCC"

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 (3,244)