URL Arguments dynamic page contents
Asked by Roberth Edberg:

Hi,

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)


Answers:
author: Roberth Edberg
body: 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?

comments: author: Robert Reiner _smartics_
body: Okay, this can be done with the [projectdoc Toolbox](https://marketplace.atlassian.com/1212629) (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](https://www.smartics.eu/confluence/x/_QJk) 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](https://www.smartics.eu/confluence/display/PDAC1/Transclusion+Macro#TransclusionMacro-DynamicTransclusion). 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. :)


author: Roberth Edberg
body: Thanks, will talk to our Confluence people to add it for evaluation.

/Roberth


author: Robert Reiner _smartics_
body: 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.


author: Robert Reiner _smartics_
body: Well, it took some extra time to complete this 'week', but finally version 2.0 of the [projectdoc Toolbox](https://marketplace.atlassian.com/1212629) for Confluence server is released today ([release notes](https://www.smartics.eu/confluence/display/PDAC1/projectdoc+Toolbox+2.0.0+Release+Notes)).

Information on [Remote Controlled Documents](https://www.smartics.eu/confluence/x/MgFYB) can be found on our server as part of the [online manual](https://www.smartics.eu/confluence/x/EAFk). One of the macros that support this feature is the [Transclusion Macro](https://www.smartics.eu/confluence/x/_QJk). [This section](https://www.smartics.eu/confluence/display/PDAC1/Transclusion+Macro#TransclusionMacro-RemoteControlledDocuments-head) provides a brief overview on how to use it.


author: Robert Reiner _smartics_
body: 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 ...


author: Nic Brough -Adaptavist-
body: That's never going to work, it's just not what Confluence is structured for.

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