Products | Versions |
---|---|
TIBCO Cloud Integration - Connect ( Scribe ) | - |
When using Replication Services with Dynamics CRM as a source, the TIBCO Scribe® Online Agent registers a plug-in in Dynamics CRM to track deleted records. For the Replication Services to register the plug-in and create the custom entity, the user configured in the TIBCO Scribe® Online Connection to Dynamics CRM must have the System Customizer and System Administrator roles in Dynamics CRM. See the images below for roles settings.
This plugin creates a custom entity in Dynamics CRM called scribechangehistory, where the deletes are recorded. When a record is deleted from the Dynamics CRM source, TIBCO Scribe® Online adds an entry to the scribechangehistory custom entity. These delete operations are published from the scribechangehistory custom entity into the SQL Server target database during replication.
Replication Services does a check for the existence of the scribechangehistory table and the plug-in each time the replication is run. If either one is missing, it is re-created. Any time the plug-in is created, a step is added in the plug-in for each entity selected for replication.
NOTE: If a step is somehow dropped from the plug-in for a particular entity, this error is not detected and repaired. TIBCO Scribe® Online only checks for the existence of the plug-in itself and not the individual steps within the plug-in.
However, if you add an entity to the Replication Solution, TIBCO Scribe® Online modifies the plug-in to track deletes on that new entity. In that case, the user configured in the TIBCO Scribe® Online Connection to Dynamics CRM must have the required permissions in Dynamics CRM to be able to make that change.
Once the Dynamics CRM components are created, the user configured in the TIBCO Scribe® Online Connection to Dynamics CRM only needs read permissions for ongoing replication provided the Dynamics CRM components, consisting of the plug-in and the scribechangehistory custom entity, do not need to be modified or recreated. This also assumes that read-only permissions are sufficient for verifying the existence of the plug-in and the scribechangehistory table.
Note: Microsoft Dynamics CRM is now known as Microsoft Dynamics 365.
For additional information, see the following in the TIBCO Scribe® Online Help: TIBCO Scribe Online Connector For Microsoft Dynamics 365