Request Properties are name/value pairs that let you capture and use specific
HTTP request information to trigger personalization. Request properties
are associated with a request and are not persisted between requests.
To create a Request Property Set
- In the WebLogic Workshop Application window, right-click the data\request
folder and choose New --> Other File Types.
- In the New File window, select the Portal folder
in the left pane.
- In the right pane, select Request Property Set.
- In the File name field, enter a name for the Request
property set. Make sure you keep the .req
file extension.
- Click Create. The Request Property Set designer appears.
- Use the next procedure to add properties to the property set.
To add properties to a property set
After you create a property set, you add the properties you want to it.
- In the Palette window, drag one of the types of properties into the
designer window.
The type defines the number of values that can be entered for the property.
Following are descriptions of each type.
Single Unrestricted - A single unrestricted property
can have only one value, but you can enter any value.
Single Restricted - A single restricted property can
have only one value, and you are restricted to selecting that value from
a predefined list.
Multiple Unrestricted - A multiple unrestricted property
can have multiple values, and you can enter any values.
Multiple Restricted - A multiple restricted property
can have multiple values, and you are restricted to selecting the values
from a predefined list.
- In the Property designer window:
- Enter a name and description for the property
- Select the Data Type for the property value. For
example, if you select Boolean, your property value can be only true
or false. (Properties with a Boolean data type are automatically set
to "single restricted.")
- In the Selection Mode and Value Range
fields, you can change the type of property. For example, you can
change a property from "single unrestricted" to "multiple
restricted."
Note: Any change to Data Type,
Selection Mode, or Value Range removes anything previously entered
in the Values field.
- Use the Values field to enter values for "restricted"
types or to set the default value(s) for "unrestricted types."
Click the ellipsis icon (...) to enter values. (In the Enter Property
Value dialog box that appears, click Add after each
entry, and click OK when all values are entered.)
- Save the file after you have added all the properties you want.
To modify properties and their values
To modify properties and their values, double-click the property set file
in the the Application window to open the file, select the property you
want to modify in the designer window, and change the values in the Property
Editor window.
Request properties can also store values that are populated programmatically.
For example, the <project>\data\request\DefaultRequestPropertySet.req
property set included with every portal Web project contains properties
called "User-Agent" and "Client Classification." These
properties are populated automatically when a device accesses a portal,
providing a key component of the multichannel framework in delivering appropriate
Web content to mobile devices.
To delete Properties
You can delete individual properties from a property set, and you can delete
property sets.
To delete a property from a property set, open the property set file, select
the property, and press the Delete key.
To delete a property set, select the property set file in the Application
window and press the Delete key.
Related Topics
Property
Set Designer window
Creating Segments
Creating Content Selectors
Creating Campaigns
Creating User Profile Properties
Creating Session Properties
Creating Catalog Structure Properties
Registering Custom Events