Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create dynamic hierarchical pages

Erez Yalon June 15, 2018

Hi,

I am writing description pages for different items.

Many of the items share a lot of features, so they can be sorted into groups, where each group has a general description and then each item has its own specific feature.

I would like each description to contain the descriptions of its parents + its specific addition.

 

For example, I have the items: Kitty, Spot, Barky, and Polly.

They are sorted into the following:

  • Animals
    • Mammals
      • Cats
        • Kitty
      • Dogs
        • Spot
        • Barky
    • Birds
      • Parrots
        • Polly

The "Animals" page will have the following description: Is an animal

So both "Mammals" and "Birds" will have this beginning with an addition of: Is a mammal Or Is a bird accordingly.

and so on...

Eventually, the "Spot" page will show the following description:
Is an animal.
Is a mammal.
Is a dog.
His name is Spot.

The big advantage I'm trying to achieve here is to be able to change/fix/update a description and having it updated in all children pages.

Any idea if it can be done in Confluence?

 

Thanks

2 answers

0 votes
Robert Reiner _smartics_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 22, 2018

On Confluence Server the projectdoc Toolbox (commercial add-on I am one of the authors) provides such a feature. It allows to define properties and reference (and reuse) property values from other pages.

I'm not sure if this could also be done to some extend with the Page Properties Macro and Page Properties Report Macro for your use case. But due to the granularity of your requirement this could be the closest you would get with tools provided by Confluence.

Erez Yalon June 23, 2018

Looks good, but we are using Confluence Cloud, so this, unfortunately, seems irrelevant.

0 votes
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 15, 2018

You may do so by using the following macros:

Hope it helps.

Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 15, 2018

Another macro that may be useful for these purposes is the Include Page Macro.

Erez Yalon June 20, 2018

Thanks @Ignacio Pulgar, but the Excerpt Macros has two problems regarding my use case:

  1. I cannot Include an Excerpt from @parent, only from specific pages - this needs to be dynamic.
  2. I need to Include several Excerpts from a page. If a page has several Excerpts Macros, only the first one will be included.

Any other solution?

Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2018

That's right. Have you tried the Include Page Macro?

Erez Yalon June 22, 2018

Page Macros are not relevant.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events