Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to pass variables to an included page?

Ramsay Mayka October 30, 2013

I would like to be able to define a page that can be included on other pages as a footer. One of the things I would like in this footer is some content by label. Is there a way for me to set the labels that should be used in the content by label macro so that it matches the parent page?

For example, on a page about dogs I would like to display knowledge base articles about dog as well as open JIRAs that are about dogs.

Is this possible/advisable?

1 answer

1 accepted

0 votes
Answer accepted
Renjith Pillai
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.
November 10, 2013

Use this macro in the included page - https://marketplace.atlassian.com/plugins/confluence.plugins.knowledgebase.survey.

This will show all the related content based on the labels applied for the parent page.

Example:
{dynamiccontentbylabel:showLabels=false|showSpace=false}
 
Ramsay Mayka November 17, 2013

The link you included does not work for me, are you refering to "Content Survey and Reporting"? If so, where can I find documentation for that plugin? I cannot find anything at https://bitbucket.org/atlassianlabs/confluence-kb-survey-plugin/overview.

Thanks

Renjith Pillai
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.
November 18, 2013

Somehow an additional dot came at the end of the link - https://marketplace.atlassian.com/plugins/confluence.plugins.knowledgebase.survey

Yeah it is 'Content Survey and Reporting'

Unfortunately there is no docs for that.

Ramsay Mayka November 18, 2013

Thanks for your answer Renjith.

Is it possible to specify a list of spaces (and page types) for the macro?

As an aside, why is this macro packaged with the survey plugin? It does not really seem related and it sounds like something that could be useful in the base product.

Cheers

Renjith Pillai
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.
November 19, 2013

Frankly, no idea. Check the code and see the features.

Ramsay Mayka November 21, 2013

Thanks for your advice.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events