Dictionary.Attribute

Syntax

Attribute: PP.Rds.Attribute;

Description

The Attribute property determines attribute of MDM dictionary.

Comments

Use the setAttribute method to set the property value, and the getAttribute method to get the property value. Property value cannot be set from JSON.

On calling the setAttribute method use the "attr" parameter: attribute object in metadata format.

The getAttribute method has the following two parameters: key - attribute key, id - attribute ID. Specifying one of the two parameters is enough to get attribute object.

Example

The example of property use is given on the page with description of the Attribute constructor.

See also:

Dictionary