cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
antonyS
Level: Powered On

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
Level: Powered On

Re: Pen Input to Common Data Service store black image

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
Community Support Team
Community Support Team

Re: Pen Input to Common Data Service store black image

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.
antonyS
Level: Powered On

Re: Pen Input to Common Data Service store black image

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

 

Community Support Team
Community Support Team

Re: Pen Input to Common Data Service store black image

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
Level: Powered On

Re: Pen Input to Common Data Service store black image

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

antonyS
Level: Powered On

Re: Pen Input to Common Data Service store black image

That works like a charm! Thanks very much

JensKofod
Level: Powered On

Re: Pen Input to Common Data Service store black image

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,876)