How can I display the status of child pages in the children display macro

How do I include the status of a child page in the Children Display macro. I've tried adding the Status macro into an Excerpt macro for each child page and then setting the Excerpt display in the Children Display macro to 'Rich'.

This works - sort of... It places the child page status on a new line after the link to the child page. It turns a nice list of links into a messy mess.  I want the status to display inline.

Setting the inline parameter in the Excerpt macro only works on the page where the excerpt resides.

Help, please and thank you. 

2 answers

1 accepted

This widget could not be displayed.

Thanks Robert,

I resorted to using the Page Properties macro; sorry I should have updated my post to reflect that I had a solution. It’s good that I didn’t update my post though, because I’m not happy with the way Page Properties macro renders the list in my solution. I didn’t know about the Display Table macro, and it looks like the list (in your post) is what I’m after.

Unfortunately, I don’t think my organisation is going to buy any add-ons until or unless I can demonstrate a need greater than the one I have with this issue.

I’ll keep projectdoc Toolbox product in mind; I may revisit it as we produce more documentation.

Thanks

-          Dean

Hi Dean,

thank you for your reply!

I'm happy that I had the chance to suggest an approach and it also helps me to understand the solution you have chosen.

Thanks for sharing!

Robert

This widget could not be displayed.

I do not know if I understand your use case correctly. It seems to me that you want to list the names of child pages together with one additional property from that page. You do not write about the depth you try to render the children, so I assume 1 would do?

If these assumptions are correct, you maybe could try to use the Page Properties Macro and Page Properties Report Macro (and reference the parent like given in a comment of https://answers.atlassian.com/questions/18450442).

Or you could use the Display Table Macro from the commercial projectdoc Toolbox (I'm one of the authors of this add-on) if you use Confluence on premise. The status has to be defined as a property of the Document Properties Marker Macro (similar in use as the Page Properties Macro). The result of the query on the children could be rendered as list

image2016-5-5 12:20:14.png

or table (with or without heading)

image2016-5-5 12:20:35.png

or as definition list (with CSS applied)

image2016-5-5 12:28:18.png

showing the name of the child pages and their status.

But this assumes that you do not need to render children in depths greater than 1.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

44 views 6 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you