Answered
How to add layers and sublayers via script without expanding the tree of the parent layer
I have a script that adds a new parent layer and organises pageItems in sublayers. I wish for the view of the new layers to be collapsed rather than expanded and only show the parent layer. Thanks.


