cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

CDS Entity Import/Export

Hi PowerUsers,  

I am looking to export entities with their definition/metdata. 
Haven't found any useful guide over the internet except this but it doesn't serve the purpose. 

https://powerusers.microsoft.com/t5/General-Discussion/Export-Import-CDS-Entities-across-environment...

I'm interested in exporting/importing the entites over different environments. 

Looking forward to a swift response.

Regards, 
Ali Nawaz

1 ACCEPTED SOLUTION

Accepted Solutions

@Anonymous yes, "solutions" are for that purpose - they transport your customizations from one environment to another. If it's the first time you're migrating your custom entity to a new environment, you'll need to include all assets for the entity (which includes the entity metadata). Then if you change only the entity metadata, you could patch the solution and ship a metada only update to the target environment. 

 

Note: If you're planning to move customizations across environements, it's better to start with a solution, then create everything in that solution.

 

Info about solutions:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/solutions-overview

Info about entity metadata:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/create-edit-metadata

View solution in original post

4 REPLIES 4
v-yutliu-msft
Community Support
Community Support

Hi @Anonymous ,

Do you want to export/import data of CDS?

I think you could consider data integration in CDS.

For now, data integration support these:82710.PNG

You could create data integration in admin center:

https://admin.powerapps.com/environments

Here's a doc about this step by step for your reference:

https://docs.microsoft.com/en-us/power-platform/admin/data-integrator

 

What's more, you could also import data to CDS here:  (support some data sources that are not supported above)82711.PNG

You could export entities here:82712.PNG

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
caburk
Power Apps
Power Apps

You can create a new solution, then click add existing/entity. You'll see an option to only include the entity metadata. 

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/entities

Anonymous
Not applicable

@caburkwill this solution work if i want to move the entities across different environments ? 

Will the meta data be available if i'm exporting entity from one environment and importing it in different environment ? 

@Anonymous yes, "solutions" are for that purpose - they transport your customizations from one environment to another. If it's the first time you're migrating your custom entity to a new environment, you'll need to include all assets for the entity (which includes the entity metadata). Then if you change only the entity metadata, you could patch the solution and ship a metada only update to the target environment. 

 

Note: If you're planning to move customizations across environements, it's better to start with a solution, then create everything in that solution.

 

Info about solutions:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/solutions-overview

Info about entity metadata:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/create-edit-metadata

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,910)