How to export themes and skins in HCL DX
Applies to
HCL Digital Experience 9.5 and higher
Introduction
You can export HCL DX themes and skins without exporting the entire server configuration using an XML Access script provided with the HCL DX installation binaries. This article describes how to use the script to export your themes and skins.
Instructions
To export your HCL DX themes and skins:
-
In a terminal or command window, navigate to the
<wp_profile>/PortalServer/bindirectory. -
Run the following command:
-
Linux or Unix:
<wp_profile_root>/PortalServer/bin/xmlaccess.sh -user <portal_admin_user> -password <portal_admin_password> -url http://<hostname>:<port>/wps/config -in <portal_server_root/doc/xml-samples/ExportThemesAndSkins.xml -out result.xml -
Microsoft Windows:
<wp_profile_root>\PortalServer\bin\xmlaccess.bat -user <portal_admin_user> -password <portal_admin_password> -url http://<hostname>:<port>/wps/config -in <portal_server_root>\doc\xml-samples\ExportThemesAndSkins.xml -out result.xml
Note
- Replace
<portal_admin_user>,<portal_admin_password>,<hostname>, and<port>with the correct values for your environment. It is recommended to use the "direct" URL and port so the request bypasses any webserver or load balancer that might be present. - The file name specified after the
-outparameter contains the portal theme and skin configuration as XML. The output file can have any name. - You can also run XML Access without any parameters on the command line to test it in your environment.
- If the ExportThemesAndSkins.xml file is missing in your installation, contact HCL Support or copy it from another portal host.
-