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

URL Arguments dynamic page contents


I want to by URL open a page and by specifying something like <URL>?page=xxx&section=yyy dynamicly include a section (yyy) from another page (xxx).

Is this possible?

/Roberth (new here)

3 answers

0 votes

That's never going to work, it's just not what Confluence is structured for.

Try the macros "include", "excerpt-include" and "excerpt"

The pointers Nic gave are leading to possible solutions. These are the macros provided by Confluence that provide transclusion facilities.

In case you are a still a little puzzled, maybe you could provide some information on the problem you are facing (and less on the solution that may solve the problem)? Maybe we then could provide more details on possible  solutions ...

One document is a Alert description. Another document is a system description. In the system description doc, I would like to add an alarm sections with information on what todo if specific alarms occur. Then I would like to be able to open the alarm description doc with the systemname as argument and get the specific alarm section from this system is shown dynamicly in the alarm document.

Do you get it?

Okay, this can be done with the projectdoc Toolbox (for Confluence Server) with the dynamic transclusion feature. This feature is available with the next version we are about to release next week.

The Transclusion Macro allows to define a transclusion and the dynamic transclusion feature allows to override parameters of this macro (identified by their IDs in case you need to override more than one transclusion). The (short) documentation for this feature is already online. I suppose this would meet your use case: You have a transclusion to a system document in the alarm document. You call the page with the alarm document and provide the name of the system document. The transclusion macro will then include one or more sections (you may also dynamically determine) of the system document into the alarm document.

I do not know of any other tool to support the dynamic transclusion, but since I am one of the authors of the projectdoc Toolbox, my view may be biased. :)

Thanks, will talk to our Confluence people to add it for evaluation.


Thank you for your feedback!

Please note that the 2.0 of the projectdoc Toolbox is about to be released, but not yet available. The latest version (1.17) does not have the "Remote Controlled Document" feature.

Well, it took some extra time to complete this 'week', but finally version 2.0 of the projectdoc Toolbox for Confluence server is released today (release notes).

Information on Remote Controlled Documents can be found on our server as part of the online manual. One of the macros that support this feature is the Transclusion Macro. This section provides a brief overview on how to use it. 

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 Thursday 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...

238 views 0 12
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