[All Adaptavist Apps]
This macro imports the contents of another page into the current page. This macro differs from the regular confluence include macro in that the content is rendered in the context of the current page rather than the source page.
This subtle difference is particularly useful when you want to store re-usable chunks of menu items on a page - because those menu items may have specific privilege requirements depending on where they are used, they needed to be rendered in the context of the current page in order to always show the correct values and links.
{import:SPACEKEY:pagename}
Property |
Required |
Default |
Notes |
Ver |
---|---|---|---|---|
default |
|
the name of the page to import in SPACEKEY:pagename format |
|
|
pagetitle |
|
Alternative way of specifying the page |
|
|
spacekey |
|
Alternative way of specifying the space key |
|
|
flag |
|
The page is imported only if one or more of the specified flags are set. See Working with Flags for more details. |
3.3.6 |
|
notflag |
|
The page is imported only if none of the specified flags are set. See Working with Flags for more details. |
3.3.6 |
Simply add the macro any page or panel to import the contents of another page:
{import:TEST:page}
None at present.
The security restrictions of the source page are honoured - if the user is not allowed to see the source page, this macro won't be able to import it.