web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / CDS - How does it work...
Power Apps
Unanswered

CDS - How does it work, good practice?

(0) ShareShare
ReportReport
Posted on by 1,097

Im looking for a simple introduction on how to use CDS.

 

So far i have built quite many apps.

But using other datasources.

 

I have only 1 environment where all my applications are located.

 

So far from reading and testing CDS.

I have understood that i cant really access and control the data.

So if have 20 apps in one enviroment, i wont really be able to "access one app´s data and remove it".

Instead all data is mixed depending on what sections/parts in CDS i am using.

Am I correct?

 

Is it best practice to create one enviroment for each application? Or category of applications....?

 

 

I have the same question (0)
  • mohsinkhalid Profile Picture
    160 on at

    If you want to have separate CDS database's for each app then you will need to create them in seperate environments. One environments has only one CDS database on it.

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @Oskarkuus,

     

    The general recommendation is to move away from single monolithic applications. The idea is that you can define the structure of your data and business logic once, and build several small focused apps on top of the data which will have consistent business logic enforced at the API layer.

    A recommended pattern is to create smaller apps focused around roles, and add only the specific components (e.g forms, views, dashboards) to the app that are specific to that role.

    A separate environment is typically recommended if the application has unrelated data requirements, has a different criticality, belongs to different business areas, high complexity, or separating dev/test/prod. Take a look at environment overview for more info. 

    https://docs.microsoft.com/en-us/power-platform/admin/environments-overview

    If this answered your question, feel free to mark this response as an accepted solution and/or thumbs up. 

    - Chris

     

     

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Oskarkuus 

    To answer for 1st question, yes all the entities and its data are mixed up in on environment/database, but this is fine. Segregation and access to the data is defined with the apps and the security model design on your environment. There are many pros/cons of having one CDS environment or many different CDS environments. To supplement on the previous posts, below are some key documents I suggest to go through. Apologies for the links, but everything is detailed well in these:

    1. Ensure you security model is design right. Here's a nice overview of CDS security: https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Security-in-Common-Data-Service-CDS/td-p/615512 
    2. Establishing an environment strategy: https://powerapps.microsoft.com/en-us/blog/establishing-an-environment-strategy-for-microsoft-power-platform/
    3. Power Platform Guidance: https://docs.microsoft.com/en-us/power-platform/guidance/
    4. Admin and governance: https://docs.microsoft.com/en-us/power-platform/guidance/adoption/admin-best-practices
    5. ALM: https://docs.microsoft.com/en-us/power-platform/alm/ 

    Hope this helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard