How can you tell where a Note is located in terms of how many layers deep it lies within a root-level container?
If there’s no system attribute, is it reasonable to parse the $Path for number of "/"s and save to a $Levels user Attribute? Of course, this may return inaccurate results if $Name attributes contain one or more "/"s.
This works perfectly for my question; which was mis-phrased, sorry about that!
What I’m trying to find out is by looking at my root-level containers, can I tell how many levels down each of their sub-containers go? (I’m trying to stay on top of user proliferation)
I am tempted to guess out loud something like collect(descendents,$Name).count…? But that tells me the total number of descendants, not the # of levels of sub-containers.
Use as a stamp on a container note and its $MyNumber value will then show how deep its descendants go. The stamped note doesn’t need to be a root container, as the descendants designator simply returns all items below the currently selected item