Hello,
We are transitioning to Confluence Cloud from Confluence Server.
A while back, on our Confluence Server we added the user macro "Expand All" per the community suggestions on this forum post: https://community.atlassian.com/t5/Confluence-questions/How-to-create-an-quot-Expand-All-quot-button-for-Confluence/qaq-p/294206
This has been widely used by our organization, which entered a lot of information into pages where they make use of the Expand macro and the "Expand All" functionality has become something they rely on.
It appears that Confluence Cloud does not have the same "User Macro" functionality as Confluence Server. Is there an alternative solution to the "User Macros" functionality, or other way we can get this "Expand All" capability again?
Any guidance is appreciated. Thank you!
This thread has a work around that is not very graceful but gets the job done. https://community.atlassian.com/t5/Confluence-questions/Can-I-toggle-expand-all-Expand-Macros-in-a-page/qaq-p/676272
Thanks Brant. In lieu of a feature enhancement from Atlassian, it appears the Bookmark workaround is still viable and will be the best that can be done on Confluence Cloud.
Here are the instructions and the Bookmark "URL" code snippet if anyone else needs it:
Create a Bookmark, name it "ExpandAll", and enter the following into the URL field:
javascript:(function()%7B% 24 ( ".expand-control" ).each(function()%7B % 24 ( this ).trigger( "click" )%3B%7D)%7D)() |
After creating the Bookmark, click it on any page with Expand macros to expand or collapse all instances.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.