Forums

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

how to list the pages where a 'specific' excerpt is included?

KC Gleason March 27, 2018

I've put the excerpt macro in place on Page 1, along with the excerpt include macro on another page (Page 2) in another space. When I edit the excerpt include macro on Page 2, I can see the parent page of Page 1, but I'm unable to tell it how to get to Page 1. 

I've looked through a ton of Community posts, blog posts, and JIRA posts and the nearest explanation I can find is here: 

https://community.atlassian.com/t5/Confluence-questions/Include-Excerpt-from-Child-Page-in-Confluence/qaq-p/103824

But it doesn't tell me how to write the name of the child page I want it to include if it won't auto-populate.

Can someone help?

Thanks!
KC

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2018

KC,

I'm a bit unclear on what you're trying to do here. 

I've setup the following:

  • Space A
    • Parent Page 1
    • Child Page 1 < --- inserted an Excerpt Macro here.
  • Space B
    • Parent Page 2 < --- inserted an Excerpt Include macro here, pointing to Child Page 1 which includes the excerpt.
    • No child page.

When I created the Parent Page 2, upon inserting the Excerpt Include Macro, I started typing the name of Child Page 1, and it had no problem finding that page. You do need to start typing the name of the page for it to auto-populate.

Can you confirm if I understood your issue correctly? 

Regards,

Shannon

KC Gleason March 30, 2018

Hi Shannon,

Thank you for your response! No, that's not quite the situation, so I'll better illustrate (below).

I've definitely tried to start typing the name of the child page with the excerpt macro, and it won't auto-populate, so hoping there's another solution beyond auto-population to link the two pages.

  • Space A
    • Parent Page 1 
      • Child Page 1 <--- Excerpt Macro 
        • Note: Fwiw this page's name has spaces and an ampersand, not sure if that matters...
  • Space B 
    • Parent Page 2
      • Child Page 2 <--- Excerpt Include Macro 

Let me know if I can provide any additional info!

KC Gleason March 30, 2018

When I edit the Excerpt Include macro, the naming goes like this:

"SpaceA:Parent1Name:"

Then, the drop down says "Not Found" when I enter the second colon. Maybe I'm not supposed to use a colon? I'm not sure...

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 12, 2018

KC,

According to your example, the excerpt is on Space A's child page, and not the parent page.

So it would look like this:

{excerpt-include:SpaceA:Child Page 1}

In addition, when you type {Excerpt, Excerpt include macro should show up, and you should be able to just select the child page there. You do not need to involve the parent at all, just refer to the child page under the space.

Let me know if you have any questions about that.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events