Wiki source code of Export Modal
Last modified by Eleni Cojocariu on 2026/08/18 10:26
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | This export modal appears when selecting which [[Pages to export>>documentation.xs.user.exports.export-page.WebHome]]: | ||
| 2 | {{image reference="export-options-modal.png" size="medium" alt="The export modal that allows selecting which pages to export"/}} | ||
| 3 | The tree is not displayed if the current Page is [[terminal>>documentation.xs.user.base.page.nested-pages.relations.WebHome]], or doesn't have any [[children Pages>>documentation.xs.user.base.page.nested-pages.relations.WebHome]]. | ||
| 4 | |||
| 5 | If the Page (or Pages) you want to export include extension Pages, it is useful to use the "Select from" button which opens the dropdown with the options: | ||
| 6 | |||
| 7 | ((( | ||
| 8 | {{image reference="select-options.png" size="medium" alt="The Export modal that allows selecting which pages to export with the dropdown highlighted with options that filter which pages to select for export"/}} | ||
| 9 | |||
| 10 | * "Created pages": Includes [[Pages created>>documentation.xs.user.base.page.create.WebHome]] by users or by XWiki extensions on behalf of the user. | ||
| 11 | * "Created and modified pages": Includes Pages that were both created and modified, typically including configuration Pages. This is the default option, as it typically covers the Pages you need. | ||
| 12 | * "All pages": Includes both created and unmodified extension Pages. This is not recommended, as [[importing unmodified extension Pages>>documentation.xs.admin.imports.extensions.WebHome]] can cause issues. | ||
| 13 | ))) | ||
| 14 | |||
| 15 | The Page node icon in the Page tree indicates the export safety of a Page: | ||
| 16 | |||
| 17 | {{image reference="legend-export-icons.png" size="large" alt="The Page node icons and the legend highlighted in the export modal"/}} | ||
| 18 | |||
| 19 | * Icon for: Created Pages. | ||
| 20 | * Icon for: Modified extension code Pages. | ||
| 21 | * Icon for: Unmodified/clean extension Pages. | ||
| 22 | |||
| 23 | The export tree may display disabled Pages (Pages excluded by the current filter but still displayed because they have included [[child pages>>doc:documentation.xs.user.base.page.nested-pages.relations.WebHome]]. These Pages are shown because they have included [[child Pages>>documentation.xs.user.base.page.nested-pages.relations.WebHome]]. You can right-click a node (disabled or not) to open the context menu and select or deselect all its child Pages, as long as the node is expanded: | ||
| 24 | |||
| 25 | {{image reference="context-menu-right-click.png" size="large" alt="The option to select or deselect all children nodes of a node"/}} | ||
| 26 | |||
| 27 | Even if the user has configured their user profile to not see [[hidden Pages>>documentation.xs.user.base.page.view.hide.hidden-pages.WebHome]], the export tree will still show them. Hovering over an extension Page reveals its name and ID. |