Synchronization steps: Difference between revisions

Jump to navigation Jump to search
Line 199: Line 199:
== Cleaning up deleted records ==
== Cleaning up deleted records ==


DeletePlugin is a Resco module that can be installed on the Dynamics server. It collects information about deleted records, as well as records where the ownership changed (this info is missing for Salesforce).
The app downloads a list of records deleted from the server (and also the list of records where ownership changed) and deletes these records from the local database.


We recommend that you activate the DeletePlugin on the Dynamics Server. If not, server deletions or ownership changes are not propagated to the client. See [[Plugins]] for more information.
* DeletePlugin is a Resco module that can be installed on the Dynamics server. It collects information about deleted records, as well as records where the ownership changed. We recommend that you activate the DeletePlugin on the Dynamics Server. If not, server deletions or ownership changes are not propagated to the client. See [[Plugins]] for more information.


; Why do we need it?
* Salesforce maintains a RecycleBin, which serves a similar purpose. It has its own set of problems, such as limited expiration duration. Also, information about ownership changes is missing for Salesforce.
We need information about deleted records because of the mechanic how incremental synchronization works: ''Give me records that were changed since this date''. Deleted records disappear from the server, hence they cannot be returned. Note that 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.


This problem only applies to Dynamics CRM. Salesforce maintains a RecycleBin, which has its own set of problems, such as limited expiration duration.
* Resco Cloud offers a similar functionality out of the box, covering both deletions and ownership changes without any additional configuration.


See also:
See also:

Navigation menu