/
Configuring the Profile Provider for Leads

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

Related content

Configuring the Profile Provider for Leads (Pre-Sitecore 9)
Configuring the Profile Provider for Leads (Pre-Sitecore 9)
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
Adding Profile Properties for Leads
Adding Profile Properties for Leads
More like this
Adding a Salesforce Domain for Leads
Adding a Salesforce Domain for Leads
More like this
Adding Profile Properties for Leads (Pre-Sitecore 9)
Adding Profile Properties 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