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,
to add an element to a dimension from active form
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: to add an element to a dimension from active form
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.
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.
Kamil Arendt