I have one external app (SQL based) and one power apps app (CDS based).
Basicaly, I would like to synch once a day some rows based on certain criteria from my external app to the CDS Custom Entity.
The reason is to avoid to input twice the same "kind" of information in the Power Apps application for given criteria and so users can also populate the CDS Entity throught the application from power apps on other circumstances.
So my question is simple, is there a way somehow to achieve this ?
Have you considered using data flows? You can periodically load the data from a variety of sources and import it into CDS. You can also perform data transformation during the process.
For more info, visit the below link:
For your scenario, the data source would be SQL DB. Please mark it as answer if my post helps.
The suggestion from @Satish-Reddy is good but there are limitations of scheduled dataflows when it comes to Look-up fields. If the entity you are populating with a dataflow is used as a Look-up on a related entity then the dataflow will clear the Look-up field on each refresh since it completely deletes the data and adds in back in again - breaking the Lookup.
Another option, which is more work but you have more control is to use Power Automate. Take a look at this article to get you started. It's about using Power Automate to integrate data from a CSV to Dynamics 365 but the principles are the same and Dynamics 365 uses the CDS connector for Power Automate.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.