Tuesday, May 8, 2012

Sort SiteMap Links in Extensions Section


I'm working on a CRM 2011 on-premises project where the team has created 35 custom entities so far. A majority of the custom entities are in the Extensions section of the SiteMap until we decide where they will live permanently. CRM doesn't sort the entities in the Extensions section but there's a way to do this. Steps:

  1. Create a solution and add the SiteMap to it
  2. Export the solution and make a backup of the zip file
  3. Extract the zip file
  4. Open customizations.xml in a text editor
  5. Scroll down to the node:  Group Id="Extensions"
  6. Copy all of the nodes and paste into a new Excel worksheet
  7. Sort the rows
  8. Copy the text in Excel and paste it over the nodes
  9. Save the file, add it back into the solution zip file (overwriting the existing customizations.xml file)
  10. Import the solution and publish
  11. Hit F5 to refresh the CRM page
  12. You should see that the Extension entity links are now sorted


Maybe there's an easier way but this did the trick.

No comments:

Post a Comment