Content of Article
- How Does Mobile Offline Synchronization Work?
- Activation of the Entities for Offline Synchronization in Dynamics 365
- Creation of a Mobile Offline Profile in Dynamics 365
- Activation of an App Module for Mobile Offline Synchronization in Dynamics 365
- Conflict Detection for Mobile Offline Synchronization in Dynamics 365
- Conclusion of the Mobile Offline Synchronization in Dynamics 365
Mobile offline synchronization allows Dynamics 365 for Phones App users to edit records without an existing Internet connection. In many cases, field service employees without an Internet connection are prevented from working productively in the system. Whether for a longer period in a rural region or with short interruptions in the elevator or the subway. With mobile offline synchronization, field service staff can create, edit, update or delete records at any time. All applications in Dynamics 365 for Customer Engagement support mobile offline synchronization.
The offline data is periodically updated on the device to ensure that the user always has access to the latest changes in the CRM system. The status and time of the last data update on the mobile device can be checked at any time. In offline mode it is possible to create, edit, update or delete records. As soon as the device is online again, all changes made in offline mode are automatically synchronized with the Dynamics 365 server without any additional effort.
Activation of the Entities for Offline Synchronization in Dynamics 365
Only a Dynamics 365 administrator is able to activate the offline functionalities. The following entities are available in offline mode:
- Activity Pointer
- Competitor Address
- Connection Role
- Custom Entity
- Opportunity Product
- Phone Call
Under Settings, go to Solutions and open the solution in which the entities are to be unlocked. Alternatively, you can make the adjustments directly in the standard solution - which, as always, we do not recommend.
Chose the desired entity.
Scroll to the "Outlook & Mobile" item on the "General" tab and check "Enable for Mobile offline".
Under "Organization data download filter" you can set which data records should be available offline. In our case, only active data records that were created during the last half year should be available.
Save the changes and publish them.
Es ist notwendig ein Offline-Profil zu erstellen, damit User Filter konfigurieren können. Diese Filter bestimmen, welche Daten einer Entität (ebenfalls den Daten der assoziierten Entitäten) dem Benutzer zur Verfügung stehen.
Open the Power Platform Admin Center and click on Environments (select the appropriate Dynamics 365 instance.) --> Settings and afterward Mobile configuration.
Select "Mobile Offline Profiles" and create a new profile. Name and save the profile to continue.
Click the plus symbol at "Mobile Offline Profile Item Details" to add a new item.
Select an entity, name and download filter. Note that even if "All records" is selected as the filter, only records from the last half year will be displayed. The previously created "Organization data download filter" in the solution is above the filter in the offline profile. Save the record to edit it further.
Click the plus symbol for "Mobile Offline Profile Item Association Details" to add records from associated entities.
Name the record and select the associated entity or relation. Save and close the record.
These profile items are especially important for the visibility of associated data records.
Return to the offline profile and add the desired users using the lookup.
To activate the profile, it must be published.
Click on the settings in Dynamics 365 and select "My Apps".
Select the app and click on the 3 dots to open the options. Open the application in the App Designer.
Change to the "Properties" tab and check the box "Enable Mobile Offline".
Select at least one mobile offline profile. Save and publish customizations.
If there is a discrepancy between the data on the server and the data on the client, a conflict arises. In other words: Which change is ultimately applied if a record was edited offline and online at the same time?
There are two ways to solve this conflict in the system settings under the tab "Mobile Client".
No --> The client is above the server. All changes that a user makes in offline mode are automatically synchronized with the server when the user is online again.
Yes --> The server is above the client.
Mobile offline synchronization is not a completely new feature. The setting was already included in Dynamics 365 Version 8. Microsoft took a while (or there were other priorities) to make the feature available again for version 9. Field service employees will be happy - they are again able to edit records at any time, without a permanent Internet connection.