Extending the Sitecore Profile Item Template

Verify the new Profile Settings have been added into the web.config by logging into the Sitecore shell to check that the new settings are available. 

If any additional custom properties have been defined in the web.config file you should extend the Sitecore template to make the properties accessible from the Sitecore CMS security applications. The following steps describe the procedure:

  1. Start the Sitecore CMS and log in with the administrator credentials
  2. Switch to the core database.
  3. Open the Content Editor, and browse for the /sitecore/templates/System/Security/SalesforceContact template in the content tree.
  4. Add a new field to this template and set its name to exactly the same value as the appropriate property name (e.g. PostalCode) in web.config. Set the type to Single-Line Text type and mark the field as Shared.


Fields for the Salesforce Contact Profile Properties


From now on when you edit any user from the Salesforce system in the Sitecore User Manager, you will see the added profile property in the profile tab of the Edit User dialog with the value taken from the corresponding contact in the Salesforce system.



 

Note: The instructions above assume that the represented Sitecore user uses the default profile item (which is the sitecore/system/Settings/Security/Profiles/SalesforceContact item), which is used when for the represented user no profile item is defined. See section Adding a New Salesforce Domain.

Next Step

Configuring UniqueKeyProperty (Optional)

Steps