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

CDS Edit, retain & store data

In the Common Data Service, we are able to create our own entities, based on data from a SQL Database for example. HOW does CDS store and retain data from a SQL Database in which the data is scheduled to refresh daily?

 

Example: Client A, Client B, Client C. Custom column added,. "Client has been contacted".

Client

Client A

Client B

Client C

 

On a specific day Client B was contacted.

Client      Client has been contacted

Client A  

Client B               Yes

Client C

 

On the second day, after CDS has refreshed source data, HOW does CDS know that Client B was contacted, and retain that "Yes" we contacted them?

 

Thanks!

Matt

2 REPLIES 2
Dual Super User
Dual Super User

Re: CDS Edit, retain & store data

Hi @mtaube 

 

Can you please confirm if you have entities created in the CDS and you are referring to them in your app. 
 
Also, does data gets refreshed means,  that all the data has been wiped out?
 
As a suggestion, you can add a date attribute in your entity, so that you can store the day and the Yes/No value corresponding to it. Through this, you can directly get the record based on a client on a specific data using Filter() query.
 
Hope this helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Community Support Team
Community Support Team

Re: CDS Edit, retain & store data

Hi @mtaube ,

Could you please share a bit more about your scenario?

How do you load data from your SQL Table into the CDS Entity within your PowerApps? Using Data Integration project?

 

If you use Data Integration project to load Data from your SQL Table to your CDS Entity, I afraid that there is no way to achieve your needs. The duplicated record with same Client value would be overrided with values from your SQL Table.

 

Please share more details about your scenario, so we could provide a proper workaroud for you.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Users online (4,393)