It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Including page when user clicks a link

Stefano Arnone I'm New Here Nov 25, 2018

Hello, is it possible to have the include page macro change the included page when a javascript event is fired?

I'm looking for a way to dynamically change the included page.

Thank you

1 answer

0 votes
Bill Bailey Community Leader Nov 26, 2018

In a word, no. The contents of the Include macro are render on the page before the page is displayed. Here is how the page code appears

<div class="conf-macro output-block" data-hasbody="false" data-macro-name="include">
[include page content]
</div>

So no parameter to reset.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

896 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you