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

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
Highlighted
Resolver I
Resolver I

Highlighted
Community Support
Community Support

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

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)

 

Highlighted

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

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

Users online (7,458)