Notifications
Announcements
No record found.
Hi,
How to change name of primary field of an entity once it is created by doing changes in xml of its solution?
*This post is locked for comments
it's not possible to change the name of the primary field after the entity is created.
the only way it to delete and recreate the entity.
Answer is you cant do this.
Schema names are locked on creation, due to the number of dependencies that are generated as the system is customized.
Whilst you could attempt a manual edit of the solution file its not supported & even if you get it work, it will probably be a bit a pain, and you run the risk that you generate problems for yourself further down the line. The customisations directly affects a large number of elements, including the database, and it’s pretty difficult to predict the exact consequences as so much functionality is wrapped up implementations we have no control over. If you do run into those problems Microsoft may be less than helpful as you would be unsupported.
you will have to delete and recreate it - end of the story :)
mark my answer as verified if helpful
I can try that on different organisation ,can you explain me what and where i need to make changes in solution xml to change primary field name of entity?
why you don't just change the label?
Hi Purnima,
you would probably have to create a solution - add the entity to it.
download the solution and extract it - once extracted , you will see customization.xml
in that try to locate "Entity" tag - you should have the field.
i agree with Guido - you can change the label only.
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