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
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 (2,194)