getEvaluatedMembers for LAncestors in Shared Hierarchies
Summary:
We have a need to be able to grab ancestors from a specific level in a shared hierarchy in a dynamic fashion based on an RTP value. When using the Ancestors on a member within Groovy getEvaluatedMembers, only the base hierarchy ancestors are returned. Is there a way to point Groovy to run this function on a specific shared hierarchy?
Additionally, is there an LAncestors equivalent for getEvaluatedMembers? Only "Ancestors" is working off the base hierarchy, but we'd prefer to be able to reference a specific level of ancestor within the shared hierarchy as well.
I have included code below that works for the base hierarchy. Thank you in advance for any help that you can provide!