TM1 Function for TI, ​AttrPutS

Uploads a string into an attribute to an element.

What is the AttrPutS function?

AttrPutS uploads a string into an attribute to an element.

Where can the AttrPutS function be used?

TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for AttrPutS?

AttrPutS( Value, DimName, ElName, AttrName, [LangLocaleCode] )​;

​Value – the string that you want to insert.​
DimName – the dimension that you want to update.​
ElName – is the element in the dimension that you want to update.​
AttrName – is the attribute of the dimension that you want to update. ​
LangLocaleCode – the language locale code to which the value applies. It’s an optional parameter. When it’s omitted, the base attribute value is updated.

A demonstration on how to use AttrPutS

Use AttrPutS to upload M to the gender attribute against Sean Chai N from the Employee dimension.