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.

  1. Unzip the XAR file, which holds the package.xml file and one XML file per Page.
    package.xml
    Main/WebHome.xml
    Sandbox/WebHome.xml
  2. Delete the files of the Pages you do not want to keep.
  3. 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>
  4. Zip the modified package.xml file together with the remaining Page files, naming the archive MyArchive.xar.
  5. Check the result by importing the archive: its "Package Content" lists only the Pages you kept.

    The Package Content panel of a customized archive, listing only the Pages that were 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.

Related

Get Connected