Import a Site Builder template from a file
We can use the Import Template action in Site Builder to make the Site Builder template available to HCL WebSphere Portal administrators and website creators.
Before importing a Site Builder template, the target server must have HCL WebSphere Portal, HCL Web Content Manager, Content Template Catalog, and Site Builder (page and library) installed and visible.
Note: Do not import a Site Builder template that uses embedded page templates stored in the Portal Site library. Conflicts between duplicate page templates cause the imported Site Builder template to break on the destination server. Importing templates between different versions of Site Builder: If we are exporting and importing templates between servers that use different versions of Site Builder, we must remove the installed templates from the import file before importing:
- Extract the PAA file and delete the pageTemplates.xml file from the directory components\TemplateName.unique\content\xmlaccess\install.
- Rezip the PAA file.
- Perform the import.
Follow these steps to import an exported Site Builder template file that is on a local or external drive that we have access to. If the Site Builder template or page templates exist on the server, they are overwritten. If a required library named in the Site Builder template file exists on the server, we cannot import the Site Builder template. Site Builder prevents custom libraries from being overwritten accidentally.
When the import completes successfully, the imported Site Builder template appears on the list of available Site Builder templates.
- Open Site Builder and click Import Template.
- Browse to the site template file, select it, and click Open.
- Click OK.
Parent topic: Export a Site Builder template to a file