What we do if we need to change prefix for already created entity in CRM dynamics. Today i’ll explain how we can do this without creating entity and all other solution component from skretch. I’ll explain step by step with screenshots.
First we create a new solution in CRM dynamics and also create and add new publisher for this solution.
Solution Name – Sample Solution For 2015
Publisher Name- Aman Kothari
Publisher Pregix – am15
For our demo purpose i just created a new entity i.e. am15_student
After that we export it as unmanaged solution.
we are open it into winrar or any other zip extract tool (without extracting into folder). It contains three xml files i.e.
we need to change only the highlighted files.
let’s create one more publisher in CRM i.e. Admin CRM 2015 and prefix name is am2016.
we’ll change Student entity from am15_student to am2016_student
First we open solution.xml file in VS. after that we replace unique name , lozalized name, customized prefix name of solution with new one.
E.g. am15 to am2016 , Aman Kothari to Admin CRM 2016 etc.
after changing it we need to save xml file.
after updating solution.xml file, customization.xml file needs modification .
In cusomization.xml we replaced prefix for entities, attributes, relationships, formxml of forms etc from am15_ to am2016_ and save it.
Now our zip solution is ready with new publisher name and prefix let’s import this file after delete the first solution.( because solution name is same so it conflicts with old solution components).
Solution imports successfully. 🙂
So this is how you can change the schema of unmanaged solution component.
Thank you for visiting my blog 🙂