Notifications
Announcements
No record found.
Hi All,
I want to create clone of any entity and all related component of that particular entity.
Please suggest any solution.
Thanks!
*This post is locked for comments
Hi,
not sure there is an easy way.. you might create a new solution, add that entity to the solution, export the solution, and, then, update the solution files manually.
Basically, you'll need to replace entity schema name with a new name in all those files. And, then, you'll need to replace the GUID-s for all forms, possibly sections, etc.. again, in all solution files (find a Guid in the files, change a few characters, then use "find and replace" to replace old value with the new one in ALL solution files)
Then you can re-package the solution and import it to Dynamics
Actually I have many fields and web resources on the entity and i need to create 19 clones. So, this way is not easy.
Can u have any other way.
Hi Ankit,
So if I understand, you want to clone the entity metadata, not a specific record?
If that's what you're looking for, the XrmToolbox will help. Download it at www.xrmtoolbox.com and you'll want to run the plugin called 'Clone Field Definitions Plugin'. The description of the plugin is: "A XrmToolBox Plugin that helps copying field definitions from an entity to another". I think in your case you'd have to create the 19 entities, but you can use this plugin to create all the fields from your main entity to the others.
I have to say though, the requirement to have 20 nearly identical entities seems like it may be better approached in different ways (maybe have a picklist for the 20 different types for which category it belongs to).
Hope this helps! I'd appreciate if you'd mark this as Answering your question.
Thanks,
Aiden
Hello,
With the XRM Toolbox can I clone all the relationships too??
Anurag
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2