Importing the Site Builder Template library onto a new virtual portal
In HCL DX Compose, the ConfigEngine utility is not available. Instead, you can use the Web Content Manager (WCM) Module utility to export and import WCM libraries. The following steps describe how to copy the Site Builder Template library to a new virtual portal.
Note
You must log in to HCL DX Compose first in the same browser before running these commands.
-
Export the Site Builder Template library using the following URL:
https://<your-host>/<context-root>/wcm/myconnect?MOD=data&taskType=export&exportLibrary=Site+Builder+Template+LibraryReplace the following variables:
<your-host>with your WebEngine host.<context-root>with your portal context root (which iswpsby default).
If you do not specify
output.dir, the export will be placed in the default export directory inside the WebEngine container:/opt/openliberty/wlp/usr/servers/defaultServer/PortalServer/wcm/ilwwcm/system/exportIf you want to export the library to a different directory, specify the
output.dirparameter in the export URL. For example:https://<your-host>/<context-root>/wcm/myconnect?MOD=data&taskType=export&exportLibrary=Site+Builder+Template+Library&output.dir=/custom/export/path -
Import the exported library into the new virtual portal using the following URL:
https://<your-host>/<context-root>/wcm/myconnect/<vp-context>?MOD=data&processLibraries=false&taskType=import&input.dir=/opt/openliberty/wlp/usr/servers/defaultServer/PortalServer/wcm/ilwwcm/system/export&skipScheduleActions=false&renameConflict=false&importLibrary=Site+Builder+Template+LibraryReplace the following variables:
<your-host>with your WebEngine host.<context-root>with your portal context root (which iswpsby default).<vp-context>with the context root for your virtual portal, for examplevp1.
If you specified a different directory for the export in step 1 using
output.dir, update theinput.dirparameter in the URL to match that directory.