Creating your custom solution for MS CRM 4.0 - Programmatically fetch Isv Config and Sitemap for an organization
The CRM SDK provides ExportXmlRequest in order to export any customizations programatically. For example, the isv config for an organization can be exported as : CrmServiceRef.ExportXmlRequest exportRequest = new CrmServiceRef.ExportXmlRequest(); // Define the nodes to retrieve, the site map and the isv configuration. exportRequest.ParameterXml = @"<importexportxml> <entities></entities> <nodes> <node>isvconfig</node> </nodes> <securityroles></securityroles> <settings></settings> <workflows></workflows> ...