TM1 Function for TI, CubeAttrSL

Retrieves data from a string attribute for a Cube, based on the language locale.

What is the CubeAttrSL function?

CubeAttrSL retrieves data from a string attribute for a Cube, based on the language locale.

Where can the CubeAttrSL function be used?

TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for …?

CubeAttrSL(CubeName, AttributeName, [LangLocaleCode]);​

​CubeName = Cube to have the string attribute retrieved.​
AttributeName = Name of the attribute to pull the information from.​
LangLocaleCode = Specifies the language code the attribute will be retrieved from (ISO 639-1).​
If blank or ignored, TM1 will pull the user’s current locale.​
If attribute value does not exist for the given locale, TM1 will pull the value from its parent. If attribute value for the parent does not exist,TM1 will pull the base value.

A demonstration on how to use …

Use CubeAttrSL to retrieve data from the description attribute from the Employee cube.