Additional Content Reference Attributes in Conditional Navigation
In addition to the CN_DISPLAYMODE_N attribute, PeopleSoft supports the following content reference attributes that can be used to configure alternate content references.
You can configure multiple attributes for a content reference, and you specify the order of evaluating attributes by adding a sequence number. For example, in a content reference, you could use CN_DISPLAYMODE_1, CNTOOLSREL_2 and so on.
CN_TOOLSREL_N
Applications may provide different content references for the same functionality based on the features supported by a PeopleTools version. For example, applications can provide a Change My Password content reference for 8.53 and another content reference for 8.54.
This table describes the attribute and the attribute value syntax:
| Attribute Name | Attribute Value | Recommendation |
|---|---|---|
|
CN_TOOLSREL_N |
KEY1=CREF1[, KEY2=CREF2]* |
KEY value should match the output of %ToolsRel meta-variable. However, if the %ToolsRel meta-variable returns, for example, 8.54.09, the KEY value of 8.54 will be valid because internally the system recognizes this condition. |
Using the example of two implementations of Change My Password where CREF1 points to the 8.53 implementation and CREF2 points to the 8.54 implementation, the CN_TOOLSREL content reference attribute can be configured with the following values:
| Attribute Name | Attribute Value |
|---|---|
|
CN_TOOLSREL_1 |
8.53=CREF1, 8.54=CREF2 |
User-Defined Content Reference Attribute
In addition to the delivered content reference attributes, PeopleSoft allows you to create user-defined conditional navigation attributes using certain system meta-HTML meta-variables.
This table describes the attribute and the attribute value syntax:
| Attribute Name | Attribute Value | Recommendation |
|---|---|---|
|
CN_METAVAR1[_METAVAR2]*_N |
KEY1=CREF1[, KEY2=CREF2]* |
At runtime, the resolved attribute name should match one of the configured values. The attribute values should exactly match the output of the system variable resolved attribute name. |
When you create a conditional navigation attribute using a meta-HTML meta-variable, you need to follow these guidelines for the attribute syntax:
-
The attribute name must begin with CN_ as a prefix.
-
Use a meta-variable as a condition that needs to be satisfied, for example, add a system meta-variable such as BROWSER.
-
Enter the meta-variable name in all caps without the leading %. For example, the %Browser meta-variable is entered as BROWSER.
-
Use “_” as a separator when you want to include multiple system variables. Internally, the system converts the “_” separator to “%” at runtime.
-
You can repeat the meta-variable multiple times.
-
Replace N with a number that is used for sequencing when multiple content reference attributes are used. This value is required.
This table shows sample values for a user-defined attribute. In this example, the alternate content reference will be resolved only when the browser is Firefox and the version is 32. For all other browsers and for all Firefox versions except 32, the original content reference will be displayed.
| Attribute Name | Attribute Value |
|---|---|
|
CN_BROWSER_BROWSERVERSION_1 |
FIREFOX32.0=PT_PSPMUMTESTINFO_GBL |
Only the following meta-variables are supported to configure an alternate content reference:
-
%AppsRel
-
%Browser
-
%BrowserVersion
-
%DBName
-
%DBType
-
%ToolsRel
Related Topics