LSIBLINGS in Groovy
Content
Hi All,
I'm trying to write a piece of code which could mimic the behavior of @LSIBLINGS in calcscript. I have a parent with a flat list of children under it and I want to pick up all members that precede the current member e.g.
Parent:
- Child 1
- Child 2
- Child 3
- Child 4
- Child 5
If I select child 5, then I want all members above it to be copied into an array.
Any help would be greatly appreciated.
Thanks!
1