Thursday, August 5, 2010

IntelliSense for Sitemap and ISV.Config Editing in Visual Studio

IntelliSense for Sitemap and ISV.Config Editing in Visual Studio

In CRM we needs to edit Sitemap & ISV.config files most often.
To edit these files easily, visual studio providing intelligence for these XML files.
We have to configure intelligence for the visual studio......


Download the CRM 4.0 SDK. The files you will need are located in the schemas folder of the SDK.
Open the xml(sitemap/isv.config) file in Visual Studio.
Press F4 to bring up the properties dialog.



Copy the following lines into the Schemas value. Keep all as one line and be sure to update your paths to where your files are located:
"D:\CRMSDK 4.0\server\schemas\_root\SiteMapType.xsd"
"D:\CRMSDK 4.0\server\schemas\_resources\customizations.xsd"
"D:\CRMSDK 4.0\server\schemas\_resources\isv.config.xsd"


Now, when you start to edit your file, you will see the IntelliSense for your nodes and any malformed nodes will be highlighted.


Enjoy Editing Sitemap & ISV.config files using intelligence....

No comments:

Post a Comment