TM1 Function for TI, ViewAttrPutS 

Inserts a string to an attribute for a cube view.

Available In

TurboIntegrator

Definition

ViewAttrPutS inserts a string to an attribute for a cube view.

Syntax

ViewAttrPutS(String, CubeNameViewNameAttributeName, [LangLocaleCode] );

String = text to be inputted
CubeName = Parent cube of the view to have the numeric attribute set.
ViewName = Name of the view to have the string attribute value set.
AttributeName = Name of the attribute to receive the value.
LangLocaleCode = Specifies the language code the attribute will be loaded (ISO 639-1). 

Video Demo

Use the ViewAttrPutS to insert a string to the attribute, Description, from the Employee cube.