TM1 Function for TI, CubeAttrPutS

Uploads data to a string attribute for a cube.

What is the CubeAttrPutS function?

CubeAttrPutS uploads data to a string attribute for a cube.

Where can the CubeAttrPutS function be used?


What is the syntax for CubeAttrPutS?

CubeAttrPutS(String, CubeName, AttributeName, [LangLocaleCode] );​

String = Value to be set as string attribute.​
CubeName = Cube to have the numeric attribute set.​
AttributeName = Name of the attribute to receive the value.​
LangLocaleCode = Specifies the language code the attribute will be loaded (ISO 639-1). If blank or ignored, TM1 will update the base attribute value.​

Note:  The list of valid LangLocaleCode values can be found on the dimension ‘}Cultures’

A demonstration on how to use CubeAttrPutS

Use CubeAttrPutS to upload data to the attribute, Description, for the Employee cube.