ViewAttrInsert function for IBM Planning Analytics (TM1)

    Where can the ViewAttrInsert function be used?

      Which TM1 Server version is the ViewAttrInsert function available for?

        What is the syntax for ViewAttrInsert?

        • ​CubeName = Name of the cube that has the view to receive the attribute.​
        • PreviousAttributeName = Name of the attribute that antecedes the new attribute (order). ​
        • NewAttributeName = Name of the new attribute to be added.​
        • AttributeType = Type of the attribute to be created. The attribute types are:​
          • N: Numeric attribute;
          • S: String attribute;
          • A: Alias attribute

        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