ElementAttrPutS
ElementAttrPutS assigns a value to a string element attribute.
This function is valid in TM1® TurboIntegrator processes only.
Syntax
ElementAttrPutS(Value, DimName, HierName, ElName, AttrName, [LangLocaleCode] );
|
Argument |
Description |
|---|---|
|
Value |
The value you want to assign to an element attribute. |
|
DimName |
The parent dimension of the element for which you want to assign an attribute value. |
|
HierName |
The name of the hierarchy within the dimension. |
|
ElName |
The element for which you want to assign an attribute value. |
|
AttrName |
The attribute whose value you want to assign. |
|
LangLocaleCode |
This optional parameter specifies the language locale code to which the Value applies. Valid LangLocaleCode values correspond to the international language codes listed in the Cultures control dimension. When the LangLocaleCode is not specified or is omitted, the base attribute value is updated. |
Example
This example assigns the string Beige to the InteriorColor attribute of the S Series 1.8L Sedan in the Automobile hierarchy of the Model dimension.
ElementAttrPutS('Beige', 'Model', 'Automobile', 'S Series 1.8L Sedan', 'InteriorColor');