Eager to learn more about Resco technology?and help us create better content for you.
- Records deleted on the server
- N:N relationships terminated on the server (deletions from intersect tables)
- Ownership changes (if they involve a deletion internally)
For information on how and when the records are deleted from the local database, see Cleaning up deleted records.
|Note||Plugins are available only for Microsoft Dynamics CRM 2011 and later.|
Why is it needed
We need information about deleted records because of the mechanic how incremental synchronization works: Give me records that were changed since the previous synchronization. Deleted records disappear from the server, hence they cannot be returned. The same argument applies for record ownership changes: If a record was assigned to me, it wasn't changed, and the normal incremental synchronization request does not return this record.
Select Plugins from the Administration menu in Woodford to configure them. The Plugins pane is divided into three tabs:
- On the N:N Relationships tab, select which relations should be tracked.
- On the Delete tab, select entities for which deletions should be tracked.
- On the Owner tab, select entities for which ownership changes should be tracked.
Click Save to save changes.
Make sure that all the entities for that you configure deletions are actually enabled in the mobile app.
You can verify this using Woodford. Edit an app project and scroll down to entities the Project menu. Inactive, disabled entities are displayed in gray. Select an inactive entity and click Enable, then click Save.
For N:N relations, this also applies to the intersect tables; for example, for a relation between Competitor and Product, enable Competitor, Product, and Competitor Product.
For ownership, enable also the entity User.
Only changes made after the tracking was enabled will be propagated to the mobile clients. Entries deleted before enabling the tracking will not be propagated on the mobile clients.
After changing the plug-in configuration, users need to perform full synchronization on their devices to get the latest data, without the previously deleted records.