Page 1 of 1

Hierarchy Functions

Posted: Wed Jun 24, 2020 10:09 am
by MarenC
Hi,

If hierarchy creation is enabled should I always use Hierarchy functions instead of dimension functions?

So HierarchyElementInsert instead of DimensionElementInsert, HierarchyElementComponentAdd instead of DimensionElementComponentAdd etc?

Maren

Re: Hierarchy Functions

Posted: Wed Jun 24, 2020 1:06 pm
by ascheevel
For modifying the base hierarchy of the dim, you can continue to use the original functions. For modifying the alternate hierarchies, you'll absolutely need to use the hierarchy functions.

Re: Hierarchy Functions

Posted: Thu Jun 25, 2020 1:56 pm
by MarenC
thanks ascheevel.

So if hierarchy creation is enabled then it is probably better to use the hierarchy functions even for the default/base hierarchy, I guess my question was if hierarchy creation is enabled does this make the dimension functions moribund?

Maren

Re: Hierarchy Functions

Posted: Thu Jun 25, 2020 3:42 pm
by Wim Gielis
MarenC wrote: Thu Jun 25, 2020 1:56 pmif hierarchy creation is enabled does this make the dimension functions moribund?
True. Even if hierarchy creation is disabled they can still be used.