Mashups in EMML : Advanced Mashup Techniques : Using MashZone NextGen Attributes in Mashups : MashZone NextGen Global and User Attributes
MashZone NextGen Global and User Attributes
MashZone NextGen user and global attributes use the following reserved variable names:
*user: for MashZone NextGen user attributes. Users can add custom attributes to their MashZone NextGen profile. See Manage Your MashZone NextGen User Attributes for more information.
Attributes for users from the User Repository can also be exposed as MashZone NextGen user attributes. For more information on which user attributes are accessible from the User Repository.
*Declare a MashZone NextGen user attribute in the mashup script as:
<variable name="user.attribute-name" type="string"/>
*Once declared, use a MashZone NextGen user attribute as:
$user.attribute-name
*global: for MashZone NextGen global attributes. Global attributes are defined in the Admin Console. .
Use this syntax:
*Declare a MashZone NextGen 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 MashZone NextGen global attribute as:
$global.attribute-name
Important:  
You must always use the $variable-name syntax for MashZone NextGen attributes, even for input variables in the <invoke> statement.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback