Edit the site map
Applies To: CRM 2015 on-prem, CRM Online
Before you can edit the site map, you must export an unmanaged solution that contains the site map. The solution can be the default solution, or, to reduce the amount of data exported, you can add the site map to a new solution.
Site map editors
Using a sitemap editor can facilitate editing the sitemap.
While these applications streamline the process to edit the site map, they still require that you have some understanding of the site map XML schema. For more information, see SiteMap XML reference.
|Microsoft Dynamics CRM technical support doesn’t provide support for these applications. If you have questions about these applications, contact the application publisher.|
Editing the site map manually
If you don’t use one of the site map editor applications, you can edit the site map manually using the following steps.
In the Navigation Pane, click Settings, click Customizations, and then click Solutions.
Add the Site Map to a new or existing unmanaged solution. In the solution, select Client Extensions from the list of Components. Select Add Existing, and then select Site Map. Then click Export Solution.
Extract the files from the compressed .zip file.
Tip Keep the compressed .zip file as your backup.
In the customizations.xml file, locate the SiteMap node at ImportExportXml/SiteMap/SiteMap.
Edit the SiteMap node.
Note Editing XML is much easier if you use an editor that provides schema validation. For more information, see Editing with Schema Validation.
Create a new compressed .zip file, including the extracted solution files and your edited customizations.xml.
Tip In Windows Explorer, select all the files. Then right-click and select Send To and Compressed (zipped) folder.
Import the new solutions file.
In Microsoft Dynamics CRM, click Settings, click Customization, and then click Solutions.
Click Browse, locate your modified solutions .zip file, click Next, and then click Import.
When the import is finished, click Close.
- In Microsoft Dynamics CRM, click Settings, click Customization, and then click Solutions.
Publish the customizations.
Tip If you don’t see the changes right away, in Internet Explorer press F5 to reload the page.
Editing with schema validation
For a better experience, edit the customizations.xml file with an application that can use schema validation to provide IntelliSense support. For more information, see Edit the customizations XML file with schema validation.
Encode the ampersand character
When you add a URL to the site map that includes the ampersand character (
&), you must encode it by replacing it with “
&”. XML validation fails if you don’t encode this character and you won’t be able to import the solution. For example:
<SubArea Id="new_customSubArea" Url="http://mysite/mypage.aspx?parameter1=value&parameter2=value ">
<SubArea Id="new_customSubArea" Url="http://mysite/mypage.aspx?parameter1=value¶meter2=value">
Recovering from errors
The solution import tool performs validations on the site map. If errors occur, the default site map is applied and an error message is displayed. You must fix the errors in the site map and import it again. However, it’s still possible that some errors might occur.
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.