cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Dual Super User III
Dual Super User III

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!
Highlighted
Community Support
Community Support

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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,729)