Defining Portal Display Rules 
Rule collections allow you to define the way in which portal desktops are assigned to portal users at runtime.
You use the Portal Display Rules Editor to create rule collection objects.
Note
Note the following:
Conditions are prioritized according to their top-to-bottom order of appearance in the rule collection. If a user fits more than one condition, then the first condition that is true for that user, determines which portal desktop is displayed. See the example below for details.
An IF-THEN condition may contain unlimited nested IF expressions.
An IF-THEN condition may contain only a single THEN expression.
A rule collection object may contain conditions that reference other rule collection objects. For example:
IF Browser Type = Microsoft Internet Explorer
THEN Rule collection = pcd:Display_Rules/MSIE_Rules
You have access to the Portal Display Rules Editor (by default, it is assigned to the system administration role).
You have at least read/write permissions for the Portal Catalog folder in which you are creating or editing a rule collection object.
You have at least read administrator permissions on the relevant portal desktop and rule collection objects in the Portal Catalog.
If you intend to use portal URL aliases in your display rules, you need to configure your portal gateway accordingly. See Portal URL Aliases.
Navigate to .
In the Portal Catalog, right-click a folder in which you want to create a rule collection object and choose . The Portal Display Rules Editor opens.
In the Rule Collection Name field, enter a friendly name for the rule collection object.
In the Rule Collection ID field, enter a unique ID for the rule collection object.
Define the conditions of the display rules using a combination of IF and THEN expressions:
Action |
Description |
|---|---|
Adding a new IF-THEN condition |
|
Adding a nested IF expression |
|
Changing the priority of IF-THEN conditions |
In the rule collection list, choose the root IF expression in the IF-THEN condition that you want to move, and then click either Move Up or Move Down. This action moves the entire IF-THEN condition of the selected IF expression, including any nested IF expressions. |
Deleting an IF-THEN condition |
In the rule collection list, choose the root IF expression in the IF-THEN condition you want to delete, and then choose Delete. This action deletes the entire IF-THEN condition. |
Click Save. The rule collection object is created in the selected folder. You may access it later from the Portal Catalog for further editing.
Navigate to .
In the Portal Catalog, right-click a rule collection object that you want to edit and choose .
The Portal Display Rules Editor opens and displays the conditions of the selected rule collection object.
Add, remove, or modify conditions as described in the table above.
Click Save.
The diagram below illustrates how conflicting conditions are resolved; for example when a user matches more than one condition. At logon, the system begins with the first condition at the top of the list and works its way down until it reaches a match. Once a match is made, the user is given the portal desktop assigned to that condition, regardless of any matching conditions that may follow.
A particular company has the following setup:
Two roles: External and Internal
The role Internal contains users who also belong to two user groups: N.America and Asia
User A belongs to both the role Internal and the user group N.America
User B belongs to both the role Internal and the user group Asia
User C belongs to the role External

If Group = N.America
Then Portal Desktop = Orange Flavor
If Role = Internal
Then Portal Desktop = Green Flavor
If Group = Asia
Then Portal Desktop = Blue Flavor
If Role = External
Then Portal Desktop = Red Flavor
Note that (i) user A matches conditions 1 and 2; (ii) user B matches conditions 2 and 3; and (iii) user C matches condition 4.
According to the list of priorities, these are the results:
User A receives portal desktop "Orange Flavor" (according to condition 1 which has priority over rule 2)
User B receives portal desktop "Green Flavor" (according to condition 2 which has priority over rule 3)
User C receives portal desktop "Red Flavor" (according to condition 4)