Store a profile property in Sitecore Commerce 7.5, powered by Commerce Server and Commerce Server
11.1. This
allows you to get or set Sitecore Commerce 7.5, powered by Commerce Server and Commerce Server
11.1 profile
data with the Sitecore Profile API. The system stores profile properties in Sitecore by default.
Complete the following prerequisites:
At Visual Studio
Add a new add element underneath the properties element of
the profile section of the web.config
The
type attribute must contain the .NET type of the
property. The
name attribute is the key that will be used to
get or set the property value in the profile property collection object of a
user. The
customProviderData attribute is made up of two
parts:
- The value must start with cs| or the Commerce Server Profile Provider
will ignore the property
- The rest of the value must be the full name of the property on the
UserObject profile e.g. GeneralInfo.email_address, you must always
include the group name.