/
Adding a Salesforce Domain for Leads
Adding a Salesforce Domain for Leads
Open the App_Config/Security/Domains.config file and add the following line to the domains element:
<!-- The defaultProfileItemID should be the Item ID for /sitecore/templates/System/Security/SalesforceLead from the core database --> <domain name="salesforceLead" ensureAnonymousUser="false" defaultProfileItemID="{6A26B11F-E474-40F3-BD79-E3063D97797F}" />
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 SalesforceLead profile Item Id from:
/sitecore/system/Settings/Security/Profiles/SalesforceLead (see following figures)
This value should match the defaultProfileItemID in the domain config above.
Switch to the Core Database
Get the Item ID GUID for the SalesforceLead Profile using the Content Explorer. This value should match the defaultProfileItemID in the domain config.
Next Step
Configuring ASP.NET Security Providers for Leads
Steps
- Adding a Salesforce Domain for Leads
- Configuring ASP.NET Security Providers for Leads
- Configuring the Switching Providers for Leads
- Configuring the Membership Provider for Leads
- Configuring the Role Provider for Leads
- Configuring the Profile Provider for Leads
- Extending the Sitecore Profile Item Template for Leads
- Configuring UniqueKeyProperty for Leads (Optional)
- Configuring UniqueKeyCaseSensitiveProperty for Leads (Optional)
Related content
Modifications of Configuration Files for Leads
Modifications of Configuration Files for Leads
More like this
Modifications of Configuration Files for Leads (Pre-Sitecore 9)
Modifications of Configuration Files for Leads (Pre-Sitecore 9)
More like this
Extending the Sitecore Profile Item Template for Leads
Extending the Sitecore Profile Item Template for Leads
More like this
Extending the Sitecore Profile Item Template for Leads (Pre-Sitecore 9)
Extending the Sitecore Profile Item Template for Leads (Pre-Sitecore 9)
More like this
Configuring the Profile Provider for Leads
Configuring the Profile Provider for Leads
More like this
Configuring the Profile Provider for Leads (Pre-Sitecore 9)
Configuring the Profile Provider for Leads (Pre-Sitecore 9)
More like this