Customize a XAR File
Last modified by Eleni Cojocariu-testing account on 2026/08/21 21:47
Steps
To build a XAR holding exactly the Pages you want, when neither the export modal nor the export URL parameters give the selection you need:
- Unzip the XAR file, which holds the package.xml file and one XML file per Page.
package.xml Main/WebHome.xml Sandbox/WebHome.xml - Delete the files of the Pages you do not want to keep.
- Open the package.xml file and remove the <file> entries of those same Pages, under <files>.
<files> <file defaultAction="0" language="">Main.WebHome</file> <file defaultAction="0" language="">Sandbox.WebHome</file> </files> - Zip the modified package.xml file together with the remaining Page files, naming the archive MyArchive.xar.
- Check the result by importing the archive: its "Package Content" lists only the Pages you kept.

FAQ
Is there another way of customizing a XAR?
Yes, the export modal selects the Pages before the archive is built, and URL parameters do the same without going through the modal.