Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 3.04 KB

File metadata and controls

39 lines (30 loc) · 3.04 KB
title description ms.custom ms.date ms.reviewer ms.suite ms.tgt_pltfrm ms.topic applies_to ms.assetid author ms.author search.audienceType
Offline use of the Dynamics 365 Customer Engagement services (Developer Guide for Dynamics 365 Customer Engagement)| MicrosoftDocs
Learn about how various Dynamics 365 Customer Engagement services can be used offline. There are several messages that are supported offline. You can also determine whether a IOrganizationService message works offline by checking the SdkMessage.Availability attribute for the desired message
on-premise
12/15/2017
pehecke
article
Dynamics 365 Customer Engagement (on-premises)
7bd0c158-6def-410f-987e-7a376f7a7fae
JimDaly
jdaly
developer

Offline use of the Dynamics 365 Customer Engagement services

[!INCLUDEpn_crm_outlook_offline_access] enables you to continue your work when you are disconnected from the server.

In addition, the event and plug-in infrastructure lets you leverage development investments across solutions by using the same APIs and programming model. The xref:Microsoft.Xrm.Sdk.IOrganizationService methods and the [!INCLUDEpn_dynamics_crm] OData service methods function both online and offline. When using a method such as Create or Update offline, the data is written locally and then when the user connects to the server, the actions are played back to the server.

For more information about whether a message is supported offline, see xref:Microsoft.Crm.Sdk.Messages. You can also determine whether a xref:Microsoft.Xrm.Sdk.IOrganizationService message works offline by checking the SdkMessage.Availability attribute for the desired message. If the message works for multiple entity types, you must also check the SdkMessageFilter.Availability attribute to see whether the message is available offline for the entity you want to work with. For example, the Create message is available offline, but not for the queue, user, or site entities.

Tracing can be enabled on the [!INCLUDEpn_crm_outlook_offline_access] for debugging. For more information about the event viewer and platform tracing, see Monitoring and troubleshooting Dynamics 365 Customer Engagement (on-premises).

See also

Extend Dynamics 365 Customer Engagement (on-premises) on the server
Troubleshooting and error handling
xref:Microsoft.Xrm.Sdk.IOrganizationService
Organization Service Methods
xref:Microsoft.Xrm.Sdk.IOrganizationService.Create*
xref:Microsoft.Xrm.Sdk.IOrganizationService.Update*

[!INCLUDEfooter-include]