Forums

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

How do I pull data from a parent template and populate the data to all the child templates?

Sue Dlhy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2019

I need to be able to take a parent page, which is a template, and feed different data on it to the child pages, which are all different templates. For example, if I have a start date on the parent page, I need that start date to populate on all the child pages that are under that parent page.  I have looked at the MultiExcerpt plug in and its not what I am looking for. 

1 answer

0 votes
James Dellow
Community Champion
June 20, 2019

If you are hosting your own Confluence site (rather than Confluence Cloud), then you might find creating your own User Macros to build what you need could help here. There are methods you can use to inject contextual variables into existing macros or reduce the effort of setting up defaults. If you combine this with other techniques, like using page naming conventions and labels, you might be able to achieve this.

For example, not quite your use case, but I built a set of custom macros for a client that provided an automated list of related articles based on matching a controlled list of labels on other pages. However, you could also override with manual selections on a page if the automated links weren't hitting the mark for users. This was all achieved using out of the box macros and User Macros.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events