Partilhar via


Propriedade PublishXmlRequest.ParameterXml

Aplica-se a: CRM 2015 on-prem, CRM Online

Gets or sets the XML that defines which solution components to publish in this request. Required.

Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (em Microsoft.Crm.Sdk.Proxy.dll)

Sintaxe

'Declaração
Public Property ParameterXml As String
public string ParameterXml { get; set; }

Valor de Propriedade

Type: Cadeia de caracteres
the XML that defines which solution components to publish in this request. Required.

Comentários

Use the Publish Request Schema to compose the correct XML to pass for this parameter.

You can publish the following solution components:

Entities

Use the logical name of the entity. The following example publishes just the account entity including any attributes, ribbons or forms associated with it.

<importexportxml>
 <entities>
  <entity>account</entity>
 </entities>
</importexportxml>

Ribbons

Publishes the Application Ribbon. You do not need to specify any value. The application ribbon will be published as long as the <ribbon> node is present.

<importexportxml>
 <ribbons>
  <ribbon></ribbon>
 </ribbons>
</importexportxml>

Dashboards

Publishes the SystemForm (dashboard) for the ID value passed.

<importexportxml>
 <dashboards>
  <dashboard>{DEDBADA0-1C50-4E0B-BC88-5CE4225D6561}</dashboard>
 </dashboards>
</importexportxml>

Option Sets

Publishes an optionset using the optionset unique name.

<importexportxml>
 <optionsets>
  <optionset>sample_customoptionset</optionset>
 </optionsets>
</importexportxml>

Site Map

Publishes the SiteMap. Since there is only one sitemap it is not necessary to pass a value.

<importexportxml>
 <sitemaps>
  <sitemap></sitemap>
 </sitemaps>
</importexportxml>

Web Resources

Publishes a Web resource using the web resource id value.

<importexportxml>
 <webresources>
  <webresource>{025225B2-CF33-4CDB-8ACD-C6205404191E}</webresource>
 </webresources>
</importexportxml>

The following example publishes the account and contact entity together with two Web resources.

<importexportxml>
 <entities>
  <entity>account</entity>
  <entity>contact</entity>
 </entities>
 <webresources>
  <webresource>{025225B2-CF33-4CDB-8ACD-C6205404191E}</webresource>
  <webresource>{6B72CB14-D27D-4197-B494-C1A06C977C41}</webresource>
 </webresources>
</importexportxml>

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Change History

Consulte também

Referência

Classe PublishXmlRequest
Membros de PublishXmlRequest
Namespace Microsoft.Crm.Sdk.Messages

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.