Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,203
Community Members
 
Community Events
176
Community Groups

Question about an Expand Macro within another Expand macro, and displaying the title

How do I get an expand macro title, that is located within another expand macro, to display the second macros title without having to open the first expand macro. I want the titles to be displayed like a table of contents.

2 comments

That's not really possible using the expand macros. What effect are you trying to achieve? Maybe there is another possibility.

The effect that I'm trying to achieve is an organized document that allows users to look for a specific title and see all the tables that are associated under that title. I have tables in each expanded macro that are displaying data that is further broken down into various levels/indention. Its a lot of information to look through, so I need a macro that is collapsible.  Something that has similar capabilities of the Expand macro and table of content macro that will allow me to display both the title and allow expand/minimize quality.

I got it to kind of work. It's definitely not something that the Confluence editor wants to do.

kind of works.PNG

I started with expand 1, then created a new line, added a bullet, then added another expand macro. I'm not sure what the effects would be if you added more layering, but this is likely the closest you'll get in the current version of Confluence.

Alternatively, you could have a non-layered list of expand macros and name them to reflect their hierarchy, like 1 Heading with 1.1 Sub-heading and 1.2 Sub-heading underneath it.

I hope this helps!

I tried your bullet point method that you suggested however, it didn't work for what I was trying to do. My first expand macro table isn't indented, but the second one is and then the third one goes back to no indention. The third one also doesn't need a title because the table info should fall under the first expanded macro. Sorry if this is confusing. 

If you could include a screenshot, that would help immensely. Otherwise, you'll have to be more specific in your description.

There's no way to have some content displayed when an expand macro is closed.

Alternatively, you could convert the tables into images and then display them as a link so when the expand macro is opened the user isn't overwhelmed by information. (unless you need to be able to include links or selectable text in your table)

I think I might've exhausted all my ideas. If you figure out a way to do it, please update the Community so we can share the solution and answer future questions.

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events