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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.