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

how do I save pen inputs to cds and read the image field to a image object again

Hello Guys 🙂

I am currently practicing with Power Apps in General. 

At the moment im working with CDS to save and load In and Outputs from my App. 

 

Unfortunately he cant load my saved pen input. (Its just a black box). Im using a Gallery to show my output. 

He can read everything expect my image field.

 

 

Patch(
Allgemein;
Defaults(Allgemein);
{
Allgemein:"Test";
'Order No': TextOrderNo.Text;
'Projekt No': TextProjektNo.Text;
'TestBool 1': ToggleTestBool1.Value;
TestBool2: ToggleTestBool2.Value;
TestImage: PenInputKratzer.Image
}
)

 

5 REPLIES 5
MelodyShults
Level: Powered On

Re: how do I save pen inputs to cds and read the image field to a image object again

Highlighted
Community Support Team
Community Support Team

Re: how do I save pen inputs to cds and read the image field to a image object again

Hi @PivotMananger ,

Do you want to update images to CDS and display them in PowerApps?

Firstly, you need to have the permission of reading and writing the Note entity in CDS.

Because all the attachments are stored in this entity.

I've made a similar test for your reference:

1)create an image field in CDS.

1154.PNG

 

2)insert an peninput control

insert a button to update

set the button's OnSelect:

Patch(testmanies,Defaults(testmanies),{Name:"abc",penimage:PenInput1.Image})

//testmanies is my entity name, Name is my required field(please check this, whether you have required field)

3)insert a gallery to display data

set the gallery's Items: entity name

insert an image inside the gallery, set the image's Image: ThisItem.penimage  //penimage is my image field name

Then, after I click the button the data submit successfully and the peninput image display in the gallery.

 

1155.PNG

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PivotMananger
Level: Powered On

Re: how do I save pen inputs to cds and read the image field to a image object again

Thank you. The Link solved my Problem. Now  I can display my Image. 🙂

 

Is it possible to transform my Pen Input with a transparent Background? (Without the black Background)

 

Community Support Team
Community Support Team

Re: how do I save pen inputs to cds and read the image field to a image object again

Hi @PivotMananger ,

Do you want to change the peninput background?

I'm afraid it's not supported to change the background to transparent.

Because if you set the background to transparent, it will display as black by default in CDS.

However, changing the background to other colors is ok, for example: white, black ,red,...

You just need to change the control this property:

1156.PNG

 

I suggest you express your views about allowing transparent background of peninput image to update to CDS on PowerApps Ideas Forum. Your precious feedback will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PivotMananger
Level: Powered On

Re: how do I save pen inputs to cds and read the image field to a image object again

Thats sad. I definitely need my Pen Inputs as transparent Images without any background colour.

Is there a workaround for my Problem ? 

I already suggested my Idea to the Forum 🙂

 

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.

Users Online
Currently online: 299 members 6,167 guests
Please welcome our newest community members: