How to add a space blueprint child page Edited

Hi all,

 

I've followed the Write a simple Confluence Space Blueprint tutorial and am struggling to add a child page.

 

I've created a child content-template:

    <content-template key="example-space-child-a" i18n-name-key="confluence.blueprints.space.child.example.homepage.name">
        <description key="confluence.blueprints.space.child.example.homepage.desc"/>
        <resource name="template" type="download" location="/xml/example-space-child.xml"/>
    </content-template>

and then I've also added the content-template reference in the space blueprint section as so:

    <space-blueprint key="example-space-blueprint" i18n-name-key="confluence.blueprints.space.example.name" category="examples">
        <content-template ref="example-space-homepage-template">
            <content-template ref="example-space-child-a"/>
        </content-template>

After I create the space there aare no pages in the page tree. I've also changed the side bar just to see a list of child page and it shows none. I've checked the orphaned pages as well and the list was empty. Is there another step to the process i've missed?

 

Thanks

2 answers

I'm running into the same issue. Any advice would be appreciated! 

Hello Stephanie,

Just wanted to follow up with you regarding the above concern. I am stucked with the same problem and I am trying to achieve same thing. Did you find a way out for it?

 

Thanks,

Aaqib

Hi Aaqib,
I found that fixing other errors (like poorly formed markup in my XML templates, discrepancies in page titles, etc.) fixed this issue. My template would only display pages in the TOC if they had no errors (no broken links, no unspecified image files, and so on).

Hi, 
I´ve recently had the same problems, what did help me was this opensource blueprint project.
https://bitbucket.org/smartics/smartics-projectdoc-confluence-space-prjmgmt/src/669e82b9750f?at=master

Greetings Irakli Edjibia

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

356 views 20 10
Join discussion

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