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