ViewAttrPutS

ViewAttrPutS assigns a string value to an attribute for a specified view.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

ViewAttrPutS(String, CubeName, ViewName, AttrName, [LangLocaleCode] );

Argument

Description

String

The string you want to assign to a view attribute.

CubeName

The cube parent of the view for which you want to assign an attribute value.

ViewName

The name of the view 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 NumericValue applies.

Valid LangLocaleCode values correspond to the ISO 639-1 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 value Rocheford to the Owner attribute of the Individual_Stores view of the Sales cube, for the French language locale code.

ViewAttrPutS('Rocheford', 'Sales', 'Individual_Stores', 'Owner','fr');