Documentation

Exporting/Importing Site Templates

You can export and import Site Templates to share them between Liferay installations.

Exporting Individual Site Templates

Follow these steps to export a Site Template:

  1. Open the Global Menu (Global Menu), go to the Control Panel, and click Site Templates.

  2. Click the Site Template you want to export.

  3. Open the Site Menu (Site Menu), expand Publishing, and click Export.

  4. Click the Add button (Add Button) to create a new export process.

    This opens an export template.

    Name and configure the template export process.

  5. Enter a title for the export process.

  6. Configure the export process by selecting the template Pages and content you want to export.

  7. Click Export to begin the export process.

Once finished, click the Download button (Download Button) to download the generated LAR file.

Download the generated LAR file.

Importing Individual Site Templates

Follow these steps to import a Site Template:

  1. Open the Global Menu (Global Menu), go to the Control Panel, and click Site Templates.

  2. Create a Site Template.

  3. Click the new Site Template.

  4. Open the Site Menu (Site Menu), expand Publishing, and click Import.

  5. Click the Add button (Add Button) to create a new import process.

  6. Add the desired LAR file and click Continue.

    Add the LAR file and click Continue.

  7. Review and configure the import process.

  8. Click Import to begin importing.

    Configure and begin the import process.

Once complete, you can use the imported Site Template to create Sites.

Bulk Export/Import

If needed, follow these steps to perform bulk export/import operations for Site Templates:

  1. Open the Global Menu (Global Menu), go to the Control Panel, and click Site Templates.

  2. Click the Actions button (Actions Button) in the Application Bar and select Export/Import.

    Click and Actions button in the Application Bar and select Export/Import.

  3. Go to the Export or Import tab to start the desired process.

    Configuration options for bulk export are mostly the same as when exporting individual Site Templates. However, you cannot configure the Pages and content included for each template. Also unlike individual exports, you can determine whether Page Templates are included in your export.

    Go to the Export tab to export all Site Templates in your instance.

    Configuration options for bulk import are mostly the same as when importing individual Site Templates. However, you can determine whether Page Templates included in the LAR file are imported with the Site Templates.

    Go to the Import tab to import an LAR file with multiple Site Templates.