Page 1 of 1

to add an element to a dimension from active form

Posted: Mon Mar 19, 2012 10:29 pm
by manoj928
Hello ALL,

Is there any way i can add an element to a dimension at a specific level through Active form using TI process.

Need your help as i am new to TM1.

Thanks,

Re: to add an element to a dimension from active form

Posted: Mon Mar 19, 2012 11:27 pm
by qml
Yes, and it's not very complicated.

On your Active Form you will need to add an Action Button from the TM1 toolbar. Edit its properties to set it to run whichever TI process you want to. You can also pass parameters to the process, which in your case might be the name of the new element, the parent to add it under and maybe something else you can think of.

Of course you will need to create the TI process first, but this should be pretty straightforward once you've read about the DimensionElementInsert() and DimensionElementComponentAdd() TI functions in the Reference Guide.