Applies To: CRM 2015 on-prem, CRM Online
Publishing customizations makes the Web application aware of changes to the data that affects the user interface.
When to publish customizations
Customizations are automatically published when new items are created or existing items are deleted.
You must publish changes after updating schema metadata or entities that affect the user interface. You can decide to wait and publish a set of related changes together.
Only published customizations are exported with a solution. You should always publish customizations before exporting a solution.
When you perform customizations that will appear in Microsoft Dynamics CRM for tablets, you should always explicitly publish your customizations to make sure that every item is synchronized with the CRM for tablets application.
|Publishing customizations can interfere with normal system operation. In a production environment, we recommend that you schedule publishing customizations when it’s least disruptive to users.|
The following table lists the two messages that you can use to publish customizations.
Publishes all customizations.
Publishes the specified customizations.
Retrieving unpublished metadata
If you want to create an application to edit customizable items in Microsoft Dynamics CRM, you must retrieve any unpublished definitions of those items. If a developer defines some changes but does not publish them, your application must be able to retrieve them to display them in the user interface.
Use the following two methods to retrieve unpublished metadata:
- RetrieveAsIfPublished parameter
- Retrieves entity, attribute, entity relationship, and option set data by using the following messages:
ReferencePublish request schema
ConceptsCustomize entity forms
Customize entity views
Customize global option sets
Change application navigation using the SiteMap
Open forms, views, dialogs and reports with a URL
Write code for Microsoft Dynamics CRM forms
Web resources for Microsoft Dynamics CRM
Other ResourcesDevelopers guide to customization for Microsoft Dynamics CRM
Extend the metadata model
Customize commands and the ribbon
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.