...
S4S lets you expose Salesforce Campaign Members as Sitecore users by setting up a separate domain for this provider. This functionality is provided for purposes such as reporting and working with Salesforce campaign members in Sitecore. The Sitecore users are read-only and should not be used for authentication purposes.
Adding a New Domain for the Campaign Provider
Open the App_Config/Security/Domains.config file and add the following line to the domains element for the Campaign Provider:
Code Block | ||
---|---|---|
| ||
<domain name="salesforceCampaign" ensureAnonymousUser="false" defaultProfileItemID="{134D41AE-7CBF-4AC3-8B2A-5D422AA201D7}" /> |
Verify the defaultProfileItemID
The defaultProfileItemID attribute defines the profile item that will be used for users from the domain if the profile is not set for the user explicitly. Verify that this GUID is correct by switching to the Sitecore core database and using the Content Editor to check the SalesforceContact and/or SalesforceLead and/or SalesforceCampaign profile Item Id from:
...
Figure 26: Get the Item ID GUID for the SalesforceContact Profile using the Content Explorer.
Enabling the Switching Providers
If the Campaign Membership Provider is being used, then the following changes will need to be made in the web.config file:
...
Code Block | ||
---|---|---|
| ||
<provider providerName="salesforceCampaign" storeFullNames="false" wildcard="%" domains="salesforceCampaign" /> |
Enabling the Providers
- If the Campaign Membership Provider is being used add the following element to the system.web » membership » providers section of the web.config file:
...