cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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
Highlighted
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.
Highlighted

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

 

Highlighted

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.
Highlighted
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

Highlighted

That works like a charm! Thanks very much

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (13,966)