Configuring UniqueKeyProperty (Optional) (Sitecore 9 and over)

The App_Config/Include/S4S.config file contains the S4S.UniqueKeyProperty setting. The setting defines the Salesforce contact or lead field which will be used as the unique key for the represented Sitecore users. Any string field can be used as the unique key. This means the following:

  • The value of the field will be used as a represented user name.
  • If there are a few contacts with the same value in the field, the first one only will be represented.
  • The value of the field is used as the login name if validating/logging in will be used.
 

Note: If you leave the setting empty, then the SitecoreUsername__c field will be used as the unique key. Additionally remember that if your org has a namespace prefix this will need to be added to the field. 

Next Step

Configuring UniqueKeyCaseSensitiveProperty (Optional) (Pre-Sitecore 9)

Steps