Configuring the Profile Provider for Leads
Add the following element to the system.web » profile » providers section of the web.config file:
<add name="salesforceLead" type="FuseIT.Sitecore.SalesforceSecurityProvider.SalesforceProfileProviderLead, FuseIT.Sitecore.SalesforceSecurityProvider" connectionStringName="S4SConnString" readOnly="false"/>
Add the following profile properties to the system.web » profile » properties section of the web.config file:
<add type="System.String" name="LeadCountry" customProviderData="S4SLead|Country|String"/> <add type="System.String" name="LeadCity" customProviderData="S4SLead|City|String"/> <add type="System.String" name="LeadBirthDate" customProviderData="S4SLead|CreatedDate|DateTime"/> <add type="System.String" name="LeadDoNotEmail" customProviderData="S4SLead|IsDeleted|Boolean"/>
The proposed list of properties is just most common properties. The list can be expanded with other properties.
Next Step
Adding Profile Properties 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)