Link Documentation Page to its Extension
Last modified by Eleni Cojocariu on 2026/08/04 16:02
When creating a documentation page, you must fill in the "Technical ID" field within the documentation page structure of XWiki.org, if the page has a "Technical ID" associated. The Technical ID is either the extension ID or the NPM package name, depending on what is being documented. In cases where no "Technical ID" is linked (for example, installation pages), you do not need to fill in this field. This links each documentation page on the main wiki to the extension it comes from, or to the NPM package it comes from.
Fill In the ExtensionId to the Page
- Go to the extension page that provides the feature documented in your page.
- Locate the Id metadata, which is stored in the xobject of type ExtensionCode Class.
- Access and copy the ID using the Object Editor, as illustrated below:

- If the extension page does not exist on Extensions, it needs to be imported. Make sure to handle the extension page properly and add the "Documentation" button as described.
- If the page exists but the Id field is not filled in, it needs to be completed.
- The Extension id follows the format <groupId>:<artifactId>, where the artifactId corresponds to the extension name (e.g., org.xwiki.platform:xwiki-platform-icon-api).
Fill In the NPM Package
- Go to npmjs.com.
- Search for the XWiki package you are looking for.