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

Ertror writing datacardvalue to CDS entity

Hi there

A year ago I created some apps with the default canvas method. One of these apps is named "SimpleLeerkrachten". It holds names and codes for teachers at our school. U can see this in my screenshot named "App Leerkracht.JPG". De app is connected to an (upgraded) CDS entity called "Leerkracht". U can see the fields in my screenshot named "entity Leerkracht.JPG". The app worked perfectly but now we are testing it again to add new teachers to the list. Whenever I click on the + button in the app, I can see and fill in the empty fields (p.e. field "LkrCode") Now when I click on the submit button (= a check mark in my app) I get an error saying  "There is a problem with saving the data. Probably the datasource is invalid." The data is not saved in the entity. The app uses a "Submitform(EditForm1)" when I click the submit. How can I solve this issue? In the past it worked perfectly.

Thx a lot in advance for any suggestion that could lead me to a quick and defintive solution. 

Greetz, Walter

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Ertror writing datacardvalue to CDS entity

Hi @Walter ,

Please try to recreate connection with the data source.

The connetion may be invalid after a long time.

If the problem still exists, could you show me your formula about updating data?

The functions may have some changes in a year's time.

 

 

Best regards,

Community Support Team _ Phoebe Liu

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.

View solution in original post

4 REPLIES 4
Super User
Super User

Re: Ertror writing datacardvalue to CDS entity

Hi @Walter , 

 

Are you able to get the data from the entity? 

 

Can you please try deleting the old CDS connection and create a new one and try again?

 

 

Thanks, 

 

Community Support Team
Community Support Team

Re: Ertror writing datacardvalue to CDS entity

Hi @Walter ,

Please try to recreate connection with the data source.

The connetion may be invalid after a long time.

If the problem still exists, could you show me your formula about updating data?

The functions may have some changes in a year's time.

 

 

Best regards,

Community Support Team _ Phoebe Liu

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.

View solution in original post

Highlighted
Walter
Level: Powered On

Re: Ertror writing datacardvalue to CDS entity

Hi
 
Thx a lot for all your support. In the meantime I found the solution myself. The datacards made in a previous version still used the old fieldnames. I changed the datacard field names te reflect the new cds entity field names and everything works like it did before.
 
Greetz and thx a lot.
Walter
Community Support Team
Community Support Team

Re: Ertror writing datacardvalue to CDS entity

Hi @Walter ,

If your problem has been soloved, could you mark my answer?
Thank you !

 

Best regards,

Community Support Team _ Phoebe Liu

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.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Users Online
Currently online: 317 members 1,622 guests
Please welcome our newest community members: