|Include an entity (document, property, etc.)|
|License||GNU Lesser General Public License 2.1|
XWiki Enterprise, XWiki Enterprise Manager
Table of contents
Include other pages into the current page.
|Name||Optional||Allowed values||Default value||Description|
|reference||no||an entity reference||the name of the entity to include. See theto understand the concept of references.|
|type||yes||document||document||the type of the entity, for now only document is supported|
|section||yes||string||the anchor to the Heading section to include in the target document (note that headings generate anchors automatically in the form: "H" + heading title stripped of all non alpha characters).|
|document||no||a wiki document||the name of the document to include.|
|context||yes||new/current||current||defines whether the included page is executed in its separated execution context or whether it's executed in the context of the current page.|
NOTE: Be sure to include the / within the "/}} at the end, otherwise any content that comes after the included section on this page will fail to appear.
This extension has been tested with the following configurations.
|Extension Version||XWiki Flavor||Notes|
|6.1||XWiki Enterprise 6.1|
Prerequisites & Installation Instructions
We recommend using theto install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).
You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.
- org.xwiki.commons:xwiki-commons-context 9.3.1
- org.xwiki.platform:xwiki-platform-display-api 9.3.1
- org.xwiki.platform:xwiki-platform-rendering-macro-context 9.3.1
- org.xwiki.platform:xwiki-platform-rendering-transformation-macro 9.3.1
- org.xwiki.rendering:xwiki-rendering-transformation-macro 9.3.1