TM1 Function for TI, ElementAttrPutS

Uploads data from a string attribute for an element.

What is the ElementAttrPutS function?

ElementAttrPutSĀ uploads data fromĀ a string attribute for an element.

Where can the ElementAttrPutS function be used?


What is the syntax for ElementAttrPutS?

ElementAttrPutS( Value, Dimension, Hierarchy, Element, Attribute, [LangLocaleCode] );ā€‹

ā€‹Value = the string value to be inputted into the Element Attributeā€‹
Dimension = Name of the Dimensionā€‹
Hierarchy = Name of the Hierarchy within the Dimensionā€‹
Element = Name of the Element within the Dimensionā€‹
Attribute = Name of the Attributeā€‹
LangLocaleCodeĀ = Language Locale Code ā€“ note this is an optional field.

A demonstration on how to use ElementAttrPutS

UseĀ ElementAttrPutSĀ to uploadĀ inactiveĀ to theĀ active statusĀ attribute againstĀ CleanersĀ in theĀ Product TypeĀ dimension.