Customize a XAR File
Last modified by superadmin on 2026/11/25 21:30
Keep only the Pages you want in an exported archive by deleting files and their package.xml entries before importing it.
Steps
Use this 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.