cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User
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
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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 47 members 4,818 guests
Please welcome our newest community members: