Skip to content
Apr 19 / Administrator

AttrInsert


Description:

Creates a new element attribute for a dimension. It can create a string, numeric, or alias attribute.


Syntax:

AttrInsert(DimName, PrevAttr, AttrNameToInsert, Type 'N'/'S'/'A');


Arguments:

DimName - Dimension name in which you want to create an element
PrevAttr - Attribute which precedes the attribute you're creating
AttrNameToInsert - Name you want to assign to newly created attribute
Type - 'N' for numeric attribute, 'A' for alias, 'S' for string


Return Type:

Nothing


Example:

AttrInsert('Products','CODE','ProductTYPE','S');
This will create a new string attribute ProductTYPE in Products dimension. Attribute will be created after CODE attribute.



Leave a Comment

Thank you for Downloading.

Please input valid email id so that we can send you download link.

Email id Required.

We respect your privacy and never share your email id with anybody.