Is it possible to use Excerpt-include to pull from entire space?

We have 15+ program pages linked on a wiki space.

Is there a way to use the Excerpt include on one page to pull from all Excerpts from every page in that space (instead of creating an entry for every program)? This will help keep things clean and avoid having to remove programs on multiple pages when they are "complete".

3 answers

1 vote
Bill Bailey Community Champion Dec 12, 2016

You have to build a one-to-one connection with the excerpt macro. You can have multiple on one page to pull content from several pages, but there is no way to do wildcarding or label filter to have just one instance of the macro to pull from pages that match.

Bill Bailey Community Champion Dec 13, 2016

As a follow up, there is the MultiExcerptMacro that can pull content from multiple pages, and from multiple locations on the same page. But you will need to insert them in a one-to-one connection, source to (one or more) destination(s).

I use it extensively, and it shows available for the cloud.

The projectdoc Toolbox provides the Transclude Documents Macro to run a query and transclude from the pages in the result set. The macros to transclude from need to be either defined with the Section Macro or the Content Marker Macro. The pages need to be projectdoc documents which requires to have the Document Properties Marker Macro on the page.

The tip Content Reuse on our website provides some more information on transclusion with the projectdoc Toolbox.

Please note that the projectdoc Toolbox is a commercial add-on available on the Atlassian Marketplace and not available for cloud (sorry I have seen this tag too late ... sad). I'm one of the authors.

It won't give you the same layout as the Excerpt macro, but the Page Properties macros might work.

Alternatively, you would need to have someone develop a custom macro for you to do this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

259 views 2 10
Read article

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