Forums

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

Is it possible to call in a page the excerpt from all pages with a certain label?

Victoria Reggiardo
Contributor
December 19, 2018

I'd like to have a page that groups all the excerpts from pages that have a certain label. Let's say I have how-to guides and each of them has an excerpt describing the purpose of the guide. I want to have a page that groups all the purposes (excerpts) of pages with the how-to label.

Is it possible? Is there an add-on or macro that enables such action?

 

Thanks!

1 answer

0 votes
Merle Fischer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2018

Hi Victoria,

there is different ways you could solve what you are aiming for.

Solution One:

Use Excerpt and Excerpt include Macros

You can add the content on the pages in an excerpt Macro (https://confluence.atlassian.com/doc/excerpt-macro-148062.html)

On the overview page use Excerpt Include Macro
(https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html) to display the exceprts of the pages)

-> downside of this solution, you have to manually add an excerpt include macro for each excerpt macro you want to display on the overview page

Solution Two:

Use Page Properties and Page Property Report Macros

Add Page Property Macro to the pages, include the excerpt content in the macro in a table

where Column one (title column) reads Summary or Info or Details or something descriptive like that and the second column contains your actual content
(https://confluence.atlassian.com/doc/page-properties-macro-184550024.html)

On the overview page add the page properties report, limit inclusion to the label desired and whatever other filter you might want to add
(https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html)

-> upside List generates dynamically and you don't have to manually add info to the overview page
-> downside list display might not be your desired optics for the overview page

one recommendation, if you have multiple people contributing ot how-to seciton create a template for them that layouts the page for them and has the necessary macro block + label already included.

Hope this helps, best

Merle

Victoria Reggiardo
Contributor
December 21, 2018

Thanks, Merle.

Do you know if there is an add-on to automate the Excerpt include macro to automatically include all excerpts with a certain label in a page?

Merle Fischer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2019

Hi Victoria,

I believe if you use the Content By lable macro, filter for the desired label and then set it to display rich content this should work, but you need to try this out and see if it really does display all you need it to

(you can find further details on what that macro can do here: https://confluence.atlassian.com/conf65/content-by-label-macro-939701193.html)

you will find the rich content option, when you're editing the macro and click on "Show" right to where it says Options.

Cheers,
Merle

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events