cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mihaimanea
Helper I
Helper I

How to store signature(peninput) as an image into Sharepoint list?

Hi,

I have the problem of saving and PenInput from a Powerapps form with data(name, surname, signature) as an image to Sharepoint list.

I know how to get the binary data as an image from the PenInput:

 

Set( PenVar, JSON( PenInput1.Image,JSONFormat.IncludeBinaryData ) );
Set( PenVar64, Mid(PenVar, 24,Len(PenVar) - 24 ) );

 

PenVar64 has the binary data. Tell me if I am wrong at converting this.
Attention: I don't want to create a file and pass the binary data as a content and save it to Sharepoint. As you notice I don't only have the Peninput field in the form, there is also name and surname. I want to save them all when I submit the Powerapps form.

Thanks!

2 REPLIES 2
zmansuri
Super User
Super User

Hi @zmansuri , is hard to understand the mix of the the blog response and the post external url response.

Also he is creating a file and then retrieving the file url stored in a different Sharepoint. I don't want that because if I want to update my signature many times I will have useless data.

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,187)