...
Add the following profile properties to the system.web>profile>properties section of the web.config file (some fields only applicable for contact):
Code Block | ||
---|---|---|
| ||
<add type="System.String" name="ALCountry" customProviderData="S4SAccountLookup|Person_Account__r.MailingCountry|String"/> <add type="System.String" name="ALCity" customProviderData="S4SAccountLookup|Person_Account__r.MailingCity|String"/> <add type="System.String" name="ALBirthDate" customProviderData="S4SAccountLookup|CreatedDate|DateTime"/> <add type="System.String" name="ALDoNotEmail" customProviderData="S4SAccountLookup|IsDeleted|Boolean"/> <add type="System.String" name="ALUserAccountId" customProviderData="S4SAccountLookup|Person_Account__c|String"/> <add type="System.String" name="ALCompany" customProviderData="S4SAccountLookup|Person_Account__r.Name|String"/> <add type="System.String" name="ALFirstName" customProviderData="S4SAccountLookup|Person_Account__r.FirstName|String"/> <add type="System.String" name="ALSurname" customProviderData="S4SAccountLookup|Person_Account__r.LastName|String"/> <add type="System.String" name="ALTelephone" customProviderData="S4SAccountLookup|Person_Account__r.Phone|String"/> |
The above list of properties are an example. The list can be expanded with other properties as perĀ Adding Profile Properties. Use the customProviderData prefix of "S4SAccountLookup|"