Code to Create an Evaluation Context
This section describes how to create an evaluation context (a Dictionary object) that contains the data for evaluating an expression against.
Retrieve the two profiles, oUser1, a UserObject object, and oAddress1, an Address object, created in Code to Create a New Profile. For more information about retrieving the profiles, see Code to Retrieve a Profile.
The properties of these profiles that are evaluated in the following sections are:
oUser1.GeneralInfo.first_name = "Joe" oAddress1.GeneralInfo.region_code = "WA"
Create a****Dictionary object and insert the two profiles.
Dim dictProfiles Set dictProfiles = Server.CreateObject("Commerce.Dictionary") Set dictProfiles.User = oUser1 Set dictProfiles.Address = oAddress1