cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sysfore_app
Frequent Visitor

How to save pen input image as Base 64 format

Hi,

 

I have to save Pen input image as base 64 format in multiline text. While pen in put is giving blob/appears like this can I store image as base 64 format.

 

Thanks,

Manoj

1 ACCEPTED SOLUTION

Accepted Solutions
JensKofod
Resolver II
Resolver II

An easy and multi-purpose solution is found to add pen-input to Sharepoint/Email/PDF by utilizing the addition of a PowerApps Json functionality added on 02/05/2019.

The Short description on how to make this work is to save the pen input image in a JSON format asking the JSON function to include Binary Data aka. Base64 🙂

Set( PenVar, JSON( PenInput1.Image,JSONFormat.IncludeBinaryData ) );

See here for details: https://iiu.dk/2019/10/12/powerapps-pen-input/

View solution in original post

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @Sysfore_app ,

 

Would you explain more about why you need to save image as base 64 format?

 

 You will need to start a flow here in the app to achieve this. You can refer to the first 3 steps in below blog about how to convert image to base 64 format using Flow:

https://eccosystem.blogspot.com/2018/11/capture-pictures-to-dynamics-customer.html

 

Then learn how to return data from Flow to PowerApps here:

https://flow.microsoft.com/en-us/blog/return-data-to-powerapps/

 

So far you cannot achieve this directly in PowerApps, if you need this, you could try to vote on below idea:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Native-base64-encode-decode/idi-p/13286

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

I have Created Model driven and Mobile app. In Model driven app I will request for item so in mobile app for that request, in mobile I am capturing issuer and reciver sinature and I want show image in Model driven app and Mobile app both.

 

In model driven app I created multiline text and added display parameters as pen control its working model driven. But when I will use pen input from canvas app its storing something like appears:// blobmanager .....

So My requirment is I need penput from canvas app as base64 format.

 

Thanks,

Manoj K

JensKofod
Resolver II
Resolver II

An easy and multi-purpose solution is found to add pen-input to Sharepoint/Email/PDF by utilizing the addition of a PowerApps Json functionality added on 02/05/2019.

The Short description on how to make this work is to save the pen input image in a JSON format asking the JSON function to include Binary Data aka. Base64 🙂

Set( PenVar, JSON( PenInput1.Image,JSONFormat.IncludeBinaryData ) );

See here for details: https://iiu.dk/2019/10/12/powerapps-pen-input/

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,272)