<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCX94J4" height="0" width="0" style="display:none;visibility:hidden"></iframe>

ViewAttrPutS function for IBM Planning Analytics (TM1)

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

    In this video, ViewAttrPutS will be used to insert a string to the attribute, Description, from the Employee cube.

    Where can the ViewAttrPutS function be used?

    TurboIntegrator

      Which TM1 Server version is the ViewAttrPutS function available for?

      Version 11 and 12

        What is the syntax for ViewAttrPutS?

        ViewAttrPutS(String, CubeName, ViewName, AttributeName, [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). 

        Relevant Functions

        • ViewAttrDelete = Deletes a view attribute from a cube
        • ViewAttrInsert = Creates a new attribute for a cube view
        • ViewAttrN = Returns a numeric attribute from a cube view
        • ViewAttrNL = Returns a numeric attribute from a cube view for a given language
        • ViewAttrPutN = Inserts a numeric value to an attribute for a cube view
        • ViewAttrPutS = Inserts a string to an attribute for a cube view
        • ViewAttrS = Returns a string from a cube view’s attribute
        • ViewAttrSL = Returns a string from a cube view’s attribute for a given language