Mashups in EMML : Advanced Mashup Techniques : Using Presto Attributes in Mashups : Presto Global and User Attributes
Presto Global and User Attributes
Presto user and global attributes use the following reserved variable names:
*user: for Presto user attributes. Users can add custom attributes to their Presto profile. See Manage Your Presto User Attributes for more information.
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. See Expose User Attributes from the User Repository in Presto.
*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. See Manage Presto Global Attributes for more information.
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.
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback