Connector for Salesforce CRM configuration properties
Implementing the Tridion Connector for Salesforce CRM requires a JSON configuration file, which defines your specific integration of Tridion with Connector for Salesforce CRM.
This topic describes the configuration properties that are needed specifically for the Connector for Salesforce CRM. For full details on the standard Connector configuration format, refer to the related topics.
- clientId
- API username to be used to authenticate over OAuth.
- clientSecret
- API password to be used to authenticate over OAuth.
- username
- API username defined in Salesforce CRM instance.
- password
- API password defined in Salesforce CRM instance consisting of a login password plus a security token, where the security token is a generated key from Salesforce CRM.
- requestTimeout
- Maximum time allowed for each request after the connection is established.
- entityTypes
- A list of Salesforce CRM entity types (CRM data types) to be exposed through the Connector, such as a CRM contact.
- pageSize
- Default page size when doing search and list operations.
- namespacePrefix
- A Boolean value (true/false) that indicates whether the Salesforce CRM namespace prefix, if one has been associated to the package, should be removed from the custom field names.
- exposeDataTypes
- A Boolean value (true/false) that indicates whether data type information from Salesforce should be exposed to the form builder in the Tridion Sites Content Manager.
The following sample code illustrates the configuration file of a Connector for Salesforce CRM:
{
"configuration": {
"SalesforceCRM": {
"namespaces": {
"salesforce"
"configuration": {
"clientId": "K2347bZfZulVdeO5lMKuUbqzCme_3MGV9tzRQhEbJ_BtqvXm6M",
"clientSecret": "A129F7993688816A5159F9BBCFB8DE3EF1F541C”,
"username": "user1@mysalesforceinstance.com",
"password": "S3cret!",
"entityTypes": ["Account", "Contact", "Lead"],
"pageSize": 100
}
}
}
}
},
"sitesCm": {
"isEnabled": true,
"SalesforceCRM": {
"displayName": "Salesforce",
"stubFolders": ["tcm:2-71-2"],
"configuration": {
"exposeDataTypes": true
}
}
},
"staging": {
"isEnabled": true,
"SalesforceCRM": {
"configuration": {
"pageSize": 200
}
}
}
}