Introduction
This is the shortest blog I have ever written so far. One of my clients asked to rename OOB Case entity to Ticket and all the references where Case was mentioned should be replaced by Ticket.
Ordinary Solution
Typically, all of us start to modify the display name wherever we see the Case.
This approach is time consuming and finding all the references where the text Case is mentioned is very difficult.
Trick/Better Solution
- Create temporary solution.
- Include the entity you want to modify (Case in our scenario).
- Include dependent required components in the solution.
- Export solution as unmanaged solution.
- Extract the zip and open customizations.xml file in Visual Studio.
- Replace all the occurrences of Case to Ticket (Note: DO NOT UPDATE SCHEMA NAMES/LOGICAL NAMES. ONLY UPDATE DISPLAY NAMES).
- Convert the folder (with updated customizations.xml) to ZIP.
- Upload the solution again and publish the customizations.
- That’s it.