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
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
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.
why you don't just change the label?
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?
you will have to delete and recreate it - end of the story :)
mark my answer as verified if helpful
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.
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.
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156