Include Page macro: file path

I am trying to use the include page macro, but the page I need to include is a child page.  I have tried a number of combinations, but none work.  What is the correct format for the path to a child page?

1 answer

0 vote

Christine,

The Include Page macro will work with all pages, regardless of parent or child status. You only need to type the name of the page in the search box on the left when you insert the macro.

If you prefer to include it manually rather than selecting the macro, then the path is the same:

{Include:SPACEKEY:Page name}

You won't need to include the parent page name in order for it to work.

Can you give that a try and let me know how it goes?

Regards,
Shannon

No, it does not work.  I have tried a number of combinations, with and without the parent page name.  I continue to get "page not found" error message.

Hi Christine, 

As I have verified this with a child page on my own instance, I can confirm it does work. Since it does not on your instance, there is another underlying problem.

Please type { and then type Include, and select the Include Page macro. Once you do that, can you tell me what happens when you type the name of the page in the search box?

Screen Shot 2017-12-27 at 9.56.24 AM.png 

If it doesn't find the page here, then there might be some other problem, such as indexing. Can you Rebuild the Confluence Reindexes from Scratch and Rebuild the Ancestor Tables and see if that helps you mention the page?

Lastly, does the issue occur with all Child Pages, or only certain ones? What version of Confluence are you running currently?

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

695 views 21 12
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