Given a nested hierarchy of directories and files (the data only, with no access to the actual system), I'd like to generate a display similar to Windows Explorer, with each directory level expandable and collapsible. Such displays could include up to 25K files. I'm aware I might be able to do this with nested Expand macros but this seems ugly and wastes a lot of vertical space. Is there a better way? Thanks!
The Table of Contents macro can do this without the expanding part. The sidebar is where you can expand and collapse your directory. I get by with those. Did you find another solution @Daniel_Miller?
@Vincent Mann this was to create a single page displaying a directory hierarchy of some other system. I ended up writing some code that would generate output that looked like the Linux "tree" command, and also had UP/PREV/NEXT links (and the appropriate anchors) following each directory entry for easier navigation. No expand/collapse, unfortunately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Daniel Miller, can you give an example of what sort of output was generated by your script (and was that output something that could be copied as text and pasted into Confluence), or even better, could you share the code you wrote?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.