Removing the Content Template from virtual portals | HCL Digital Experience
If you installed any virtual portals with the properties CTC_DEMO or CTC_TEMPLATES set as true, follow these instructions to remove the CTC Demo site and page templates from your virtual portals.
About this task
Procedure
- Change the installation configuration in the components.properties file, in the wp.ctc folder in the solutions installer
offering directory.
This is configured to be wp_profile_root/paa/wp.ctc, but can be located elsewhere depending on the environment's Solutions Installer configuration.
- Open a command prompt and navigate to the wp_profile_root directory.
- Run the ConfigEngine batch
or script file with the remove-paa parameter
to remove the CTC Demo site from each virtual portal. Repeat the command
for each virtual portal where the demo or templates were installed. For example:
- Windows™
ConfigEngine.bat remove-paa -DappName=wp.ctc -DVirtualPortalHostName=myhost.example.com -DVirtualPortalContext=virtual_portal_context_url
- AIX® HP-UX Linux™
./ConfigEngine.sh remove-paa -DappName=wp.ctc -DVirtualPortalHostName=myhost.example.com -DVirtualPortalContext=virtual_portal_context_url
where
- VirtualPortalHostName is the host name of the virtual portal.
- VirtualPortalContext is the context path for the virtual portal.
- Open a command prompt and navigate to the
PortalServer_root/bin
directory. - To remove the page templates, run the xmlaccess batch
or script file with these parameters:
- Windows™
xmlaccess.bat -user username -password userpassword -url vpconfigurl -in wp_profile_root/paa/wp.ctc/components/wp.ctc.templates/xmlaccess/uninstall/delete-ctc-templates.xml
- AIX® HP-UX Linux™
./xmlaccess.sh -user username -password userpassword -url vpconfigurl -in wp_profile_root/paa/wp.ctc/components/wp.ctc.templates/xmlaccess/uninstall/delete-ctc-templates.xml
- http://server:port/wps/config/VirtualPortalContext
- http://VirtualPortalHostName:port/wps/config/