Download PDF
Download page Syncing Data between Salesforce and Conga Platform for CLM.
Syncing Data between Salesforce and Conga Platform for CLM
You can follow the configurations mentioned in this topic to automatically sync data from Salesforce to Conga Platform for CLM to maintain data consistency across platforms.
This section covers configurations related to syncing data from Salesforce to the Conga Platform for Contract Lifecycle Management (CLM). For detailed information on the data sync process between Salesforce and Conga Platform, see Managing Data Sync.
Perform the following tasks to sync data from Salesforce to Conga Platform for CLM:
- Configure Salesforce Settings in Conga Platform.
- Configure CLM Config Settings in Conga Platform.
- Configure a Salesforce authentication provider to log in to CLM on Conga Platform using Salesforce credentials.
- Configure the APTS_RLPInstanceSettings admin entry.
- Configure remote site settings.
- Configure triggers to sync the out-of-the-box objects to CLM on Conga Platform.
To configure Salesforce Settings in Conga Platform
For more information, see Salesforce Settings.
To configure CLM Config Settings in Conga Platform
For CLM, you must only configure CLM Config Settings in the Custom Settings. For more information, see Custom Settings.
To configure a Salesforce authentication provider
- Go to Setup > Identity > Auth. Providers.
- Click New and set Provider Type as Open ID Connect.
Enter the Name as APTS_RLPInstanceSettings.
Enter Consumer Key, Consumer Secret, Authorize Endpoint URL , and Token Endpoint URL. For information on how to fetch the Consumer Key, Consumer Secret, and Token Endpoint URL, see Platform Settings. Leave the remaining fields as is.
Note
Enter the region-specific Authorize Endpoint URL:
For example:
Preview Environment:
NA: https://login-rlspreview.congacloud.com/api/v1/auth/connect/token
EU: https://login-preview.congacloud.eu/api/v1/auth/connect/token
AU: https://login-preview.congacloud.au/api/v1/auth/connect/token
Production Environment:
NA: https://login-rls.congacloud.com/api/v1/auth/connect/token
- Click Save.
To configure the admin entry
- Click the App Launcher icon (
), enter Admin, and select Admin.
- Click New.
Enter the following details:
Field Value Name APTS_RLPInstanceSettings Code Sample value:
{
"fwd_sync_url" :"https://xxx.congacloud.io",
"organization-id":"5ba45b1e-2264-4063-be5f-xxxxxxxxxxx",
"organization-fid":"datatenant-clmst1-5ba86b1e-2268-4062-be9f-xxxxxxxxx",
"user-id":"9743f384-c18c-4455-bfaa-xxxxxxxxxx"
}Enter the region-specific fwd_sync_url.
For example,
NA: https://rls-preview.congacloud.io
For more information, see Admin Entries.
To configure remote site settings
- Go to Setup > Security > Remote Site Settings.
- Click New Remote Site.
- Enter the following details:
- Remote Site Name: Enter a remote site name.
Remote Site URL: Enter the remote site URL.
You must enter the URL that you provided in the Authorize Endpoint URL field.- Disable Protocol Security: Leave the checkbox unselected.
- Description: Enter a description.
- Active: Select the checkbox.
- Click Save & New.
- Enter the following details:
- Remote Site Name: Enter a remote site name.
Remote Site URL: Enter the remote site URL.
You must enter the URL that you provided for fwd_sync_url in the APTS_RLPInstanceSettings admin entry.- Disable Protocol Security: Leave the checkbox unselected.
- Description: Enter a description.
- Active: Select the checkbox.
- Click Save.
To configure triggers
- Go to Setup > Object Manager.
- Select the Agreement object.
- Click Triggers > New.
- In the Apex Trigger window, select the Is Active checkbox.
Enter the following code.
trigger AgreementDualWriteTrigger on Apttus__APTS_Agreement__c (after insert, after update, after delete) { Conga_4SF.CongaDualWriteUtils.initiateDualWrite(); }
CODE- Go to Setup > Object Manager.
- Select the Attachment object.
- Click Triggers > New.
- In the Apex Trigger window, select the Is Active checkbox.
Enter the following code.
trigger AttachmentDualWriteTrigger on Attachment(after insert, after update, after delete) { Conga_4SF.CongaDualWriteUtils.initiateDualWrite(); }
CODE- Go to Setup > Object Manager.
- Select the ContentDocumentLink object.
- Click Triggers > New.
- In the Apex Trigger window, select the Is Active checkbox.
Enter the following code.
trigger ContentDocumentLinkDualWriteTrigger on ContentDocumentLink(after insert, after update, after delete) { Conga_4SF.CongaDualWriteUtils.initiateDualWrite(); }
CODE
You can configure additional objects to sync data. For more information see Admin Entries to Sync Data between Salesforce and Conga Platform for CLM.