Presto Global and User Attributes
Presto user and global attributes use the following reserved variable names:
Attributes for users from the User Repository can also be exposed as Presto user attributes. For more information on which user attributes are accessible from the User Repository.
Declare a
Presto user attribute in the mashup script as:
<variable name="user.attribute-name" type="string"/>
Once declared, use a
Presto user attribute as:
$user.attribute-name
global: for
Presto global attributes. Global attributes are defined in the
Admin Console. .
Use this syntax:
Declare a
Presto global attribute in the mashup script as:
<variable name="global.attribute-name" type="string"/>
Note: | Earlier releases also used "system" as a keyword for global attributes. This keyword is deprecated, but still supported. |
Once declared, use a
Presto global attribute as:
$global.attribute-name
Important: | You must always use the $variable-name syntax for Presto attributes, even for input variables in the <invoke> statement. |