...
Section | ||
---|---|---|
| ||
This feature is available for the projectdoc Toolbox for Confluence since version 2.7. |
Section | ||
---|---|---|
| ||
What is the impersonator feature? First: What is transclusion? The Transclusion Macro allows to reuse content from another projectdoc document. The content is referenced from the page that contains the Transclusion Macro. The content is rendered in the referenced page and the rendered content is then inserted at the location of the Transclusion Macro. Now impersonation: The Transclusion Macro is also in use for impersonation. In the case the Impersonator parameter of the Transclusion Macro must be checked. The Transclusion Macro still references content on another page, but this time the unrendered content is delivered to the transcluding page and the this content is rendered in the context of the transcluding page. The context is typically the document properties and the document sections of the transcluding document. That's the theory. Now let's have a look at an example! |
Section | ||
---|---|---|
| ||
This is what our live template for this example looks like.
The structure of the projectdoc document is this: Note that the introduction section is hidden because it is transcluded in the live template and – for this example – should only be rendered once on the page. The Section Macro and Column Macro provided by Confluence are used to define the layout. |
...