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

Pen Input to Common Data Service store black image

Hi All,

I'm looking to store a signature to Common Data Service from Pen Input in PowerApps. I created an entity called "Signatures" and it only have 2 field: Name (Text) and Signature (Image). I created a simple app using CDS connection. On the EditScreen1, i edited the signature data card to use a pen input instead of add/upload picture.

sign.PNG

I've changed the update of Signature Datacard into PenInput1.Image.

When I submit a new signature, the gallery showing a black screen instead of my signature.

gallery.PNG

 

The connection seems to be fine, as uploading a normal picture (instead from pen input) works fine.

Is there anyone can help / explain me on this issue? Thank you very much.

 

Kind Regards,

Antony

1 ACCEPTED SOLUTION

Accepted Solutions
JensKofod
Resolver II
Resolver II

Default Pen Input backgroup color are transparent.... Transparet entity image are not supported, if you change the pen input background image to white it works.... it also works if you change the pen color to white 🙂

View solution in original post

6 REPLIES 6
v-monli-msft
Community Support
Community Support

Hi @antonyS ,

 

Can you please share the related formulas here?

 

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.

Here is the formula in the EditForm, I deleted the Image input, change it into Pen Input, then change the Update formula into PenInput1.Image

 

penInput.PNG

 

Here is the gallery Items formula (I used the "Start from data" option and the only custom formula i have is on the EditForm)

 

gallerySignatures.PNG

 

Hi @antonyS ,

 

It seems that so far this cannot be achieved. You could vote on below idea if you need this:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/Capture-Image-and-Pen-Input-and-upload-to-ShareP...

 

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.
JensKofod
Resolver II
Resolver II

Default Pen Input backgroup color are transparent.... Transparet entity image are not supported, if you change the pen input background image to white it works.... it also works if you change the pen color to white 🙂

View solution in original post

That works like a charm! Thanks very much

An easy and multi-purpose solution is found to add pen-input to Sharepoint/Email/PDF thanks to Shane Young, 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:

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

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (38,137)