Exports

Last modified by Simon Urli on 2026/10/15 11:35

Explanation

The export action of xwiki-platform-oldcore, at URLs such as /xwiki/bin/export/Space/Page?format=xar, exports Pages in the format named by the format request parameter, xar being the default. It handles xar, html, pdf and, when an office server is connected, office formats such as odt or rtf itself, and an extension adds or replaces a format with an Export Format Handler component.

XWiki 18.4.7+, 18.9.0+ The export action performs an export only for a POST request. Any other request gets the 405 (Method Not Allowed) status code, an Allow: POST header and the "Confirm the Export" page, which submits the same parameters again with a POST request. A handler decides for itself which requests it accepts: the html-print format, which the PDF export loads in a browser, accepts GET requests because it only renders a Page.

Add an Export Format plugs a format into both the export action and the Export modal.

FAQ

Does a POST export request need a form token?

No. The query string parameters of the export URL are read from a POST request as well.

More

To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.

Related

Get Connected