Adding Profile Properties for Leads
The properties should be defined by adding the following element to the properties section:
<add type="System.String" name="<property_name>" customProviderData="S4SLead|[lead_attribute_schema_name]|[propertyType]"/>
The table below explains each attribute of this definition:
Attribute | Description |
Name | The unique name of a property. |
Type | The .NET type of a property. This is the type a property will have in the ASP.NET environment. |
customProviderData | Any data required for the provider serving this property. In this case, S4SLead means that this property is to be handled by the S4S Lead provider. The lead_attribute_schema_name specifies the name of the corresponding Salesforce lead entity attribute. The propertyType defines the type of the lead property. The S4S provider expects the pipe separator (|) between the attribute parts. |
The S4S profile provider expects the following values for the propertyType attribute:
- String; represents the ‘string’ Salesforce type
- Boolean; represents the ‘boolean’ Salesforce type
- DateTime; represents the ‘dateTime’ Salesforce type
- Float; represents the ‘float’ Salesforce type
- Number; represents the ‘int’ Salesforce type
- Money; represents the ‘currency’ Salesforce type
Note: This list of Salesforce types is a full list of supported types; no more types are expected to be supported in the current module version. |
Next Step
Check Profile Settings 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)