Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Publish request schema

Applies To: CRM 2015 on-prem, CRM Online

The following is the schema definition for the PublishXmlRequest message. For more information, see Publish customizations. You can find this schema in the SDK\Schemas\ParameterXml.xsd file in the SDK package. Download the Microsoft Dynamics CRM SDK package.

<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified"
           elementFormDefault="qualified"
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
 <xs:element name="importexportxml">
  <xs:complexType>
   <xs:sequence>
    <xs:element name="entities"
                minOccurs="0">
     <xs:complexType>
      <xs:sequence minOccurs="0"
                   maxOccurs="unbounded">
       <!-- Name of the entity to publish-->
       <xs:element maxOccurs="unbounded"
                   name="entity"
                   type="xs:string" />
      </xs:sequence>
     </xs:complexType>
    </xs:element>
    <xs:element name="ribbons"
                minOccurs="0">
     <xs:complexType>
      <xs:sequence minOccurs="0"
                   maxOccurs="unbounded">
       <!-- Application ribbon. : This value is not used. We publish the application ribbon if there is at least one <ribbon> node present -->
       <xs:element maxOccurs="unbounded"
                   name="ribbon"
                   type="xs:string" />
      </xs:sequence>
     </xs:complexType>
    </xs:element>
    <xs:element name="dashboards"
                minOccurs="0">
     <xs:complexType>
      <xs:sequence minOccurs="0"
                   maxOccurs="unbounded">
       <!-- Guid of the systemform to publish-->
       <xs:element maxOccurs="unbounded"
                   name="dashboard"
                   type="xs:string" />
      </xs:sequence>
     </xs:complexType>
    </xs:element>
    <xs:element name="optionsets"
                minOccurs="0">
     <xs:complexType>
      <xs:sequence minOccurs="0"
                   maxOccurs="unbounded">
       <!-- Name of the optionset to publish-->
       <xs:element maxOccurs="unbounded"
                   name="optionset"
                   type="xs:string" />
      </xs:sequence>
     </xs:complexType>
    </xs:element>
    <xs:element name="sitemaps"
                minOccurs="0">
     <xs:complexType>
      <xs:sequence minOccurs="0"
                   maxOccurs="unbounded">
       <!-- Guid of the sitemap to publish : This value is not used. We publish the sitemap if there is at least one <sitemap> node present-->
       <xs:element maxOccurs="unbounded"
                   name="sitemap"
                   type="xs:string" />
      </xs:sequence>
     </xs:complexType>
    </xs:element>
    <xs:element name="webresources"
                minOccurs="0">
     <xs:complexType>
      <xs:sequence minOccurs="0"
                   maxOccurs="unbounded">
       <!-- Guid of the web resource to publish -->
       <xs:element maxOccurs="unbounded"
                   name="webresource"
                   type="xs:string" />
      </xs:sequence>
     </xs:complexType>
    </xs:element>
   </xs:sequence>
  </xs:complexType>
 </xs:element>
</xs:schema>


Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Show:
© 2015 Microsoft