What is the ViewAttrPutN function?
ViewAttrPutN inserts a numeric value to an attribute for a cube view.
Where can the ViewAttrPutN function be used?
TurboIntegrator
Which TM1 Server version is this function available for?
Version 11 and 12
What is the syntax for ViewAttrPutN?
ViewAttrPutN(NumericValue, CubeName, ViewName, AttributeName, [LangLocaleCode] );
NumericValue = Value to be inputted
CubeName = Parent cube of the view to have the string attribute value retrieved.
ViewName = Name of the view to have the string attribute value retrieved.
AttributeName = Name of the attribute to retrieve the value.
LangLocaleCode = Specifies the language code of the attribute to be retrieved (ISO 639-1).
If blank or ignored, TM1 will retrieve the user’s current locale attribute value.
A demonstration on how to use ViewAttrPutN
Use ViewAttrPutN to insert a numeric value to the attribute, Reference Number, from the Employee cube.