cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dave8
Impactful Individual
Impactful Individual

How to create a table using the similar structure of the existing table within the environment?

Hello,

 

Could you please share the automated approach to create a new table using the existing table structure within the same environment in Microsoft Dataverse?

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Dual Super User
Dual Super User

Hi @dave8,

 

There's no out of box automated way, but there is an XrmToolbox plugin called the Clone Field Definitions Plugin that can copy all your columns (fields) from one Table to another. The Attributes Factory is a similar one where you can export out the columns of an existing entity, then create them for another table. You'd just need to create the new table first.

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

 

View solution in original post

2 REPLIES 2
ChrisPiasecki
Dual Super User
Dual Super User

Hi @dave8,

 

There's no out of box automated way, but there is an XrmToolbox plugin called the Clone Field Definitions Plugin that can copy all your columns (fields) from one Table to another. The Attributes Factory is a similar one where you can export out the columns of an existing entity, then create them for another table. You'd just need to create the new table first.

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

 

EricRegnier
Super User
Super User

HI @dave8,

To supplement on the previous post, there are other out-of-the-box tricks with solutions:

  1. If you need to create the same table in the same tenant but different Dataverse environment, then simply export and import a solution.
  2. If you need same table in same Dataverse environment, then export a solution with your table (include all components). Unzip the solution file, edit the table physical name, change guids on forms, views. Re-zip and re-import

More complicated, but can use the SDK with .NET or Web API: https://docs.microsoft.com/powerapps/developer/data-platform/metadata-services#programmatically-work... 

Hope this helps...

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,252)