How can I display the status of child pages in the children display macro
Asked by Dean Cloutier:

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.


Answers:
author: Dean Cloutier
body: 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

comments: author: Robert Reiner _smartics_
body: 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


author: Robert Reiner _smartics_
body: 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](https://confluence.atlassian.com/confcloud/page-properties-macro-724765240.html) and [Page Properties Report Macro](https://confluence.atlassian.com/confcloud/page-properties-report-macro-724765250.html) (and reference the parent like given in a comment of <https://answers.atlassian.com/questions/18450442>).

Or you could use the [Display Table Macro](https://www.smartics.eu/confluence/x/wgNk) from the commercial [projectdoc Toolbox](https://www.smartics.eu/confluence/x/EAFk) (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](https://www.smartics.eu/confluence/x/rgNk) (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.  
[](https://community.atlassian.com/t5/Confluence-questions/How-can-I-display-the-status-of-child-pages-in-the-children/qaq-p/115559?attachment-id=9099){#link_1186f52971efbb}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/19178/1/image2016-5-5%2012%3A28%3A18.png){#display_1186f52971efbb_0}  
[](https://community.atlassian.com/t5/Confluence-questions/How-can-I-display-the-status-of-child-pages-in-the-children/qaq-p/115559?attachment-id=9100){#link_1186f52971efbb_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/19178/2/image2016-5-5%2012%3A20%3A14.png){#display_1186f52971efbb_2}  
[](https://community.atlassian.com/t5/Confluence-questions/How-can-I-display-the-status-of-child-pages-in-the-children/qaq-p/115559?attachment-id=9101){#link_1186f52971efbb_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/19178/3/image2016-5-5%2012%3A20%3A35.png){#display_1186f52971efbb_4}


Tags: cloud

confluence-cloud