Page 1 of 1

Moving elements under another element with a TI process

Posted: Thu Feb 18, 2021 12:03 pm
by cerend
Hello all,

Sorry if this is a very basic question, I am new to TM1.

So, I have a distributors dimension like below, and I want to move C0045 under DistributorType1-Old with a TI process. I have seen suggestions like using DimensionElementComponentAdd and DimensionElementComponentDelete to achieve this but I am hesitant about using DimensionElementComponentDelete because I do not know what will happen to data of an element once that element is deleted.
If it deletes data, how can I store it before deletion and then copy it into newly created members?

Any help will be very much appreciated,

Current Structure

Distributors
-DistributorType1
--C0045 (leaf)
--C0046 (leaf)
-DistributorType1-Old

Re: Moving elements under another element with a TI process

Posted: Thu Feb 18, 2021 12:37 pm
by lotsaram
DimensionElementDelete deletes the element (and all data associated with the element).

DimensionElementComponentDelete removes the element from one of its parents. It does not delete the element, only the relationship. All data remains as it was.