+

Search Tips   |   Advanced Search

Remove the Content Template Catalog from virtual portals

If we 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 the virtual portals.

Follow these instructions to edit the components.properties file to flag the CTC Demo site and page templates for uninstalling and then uninstall the components from each virtual portal.

  1. Change the installation configuration in the components.properties file, located in the wp.ctc folder in the solutions installer offering directory.

    This is generally configured to be WP_PROFILE/paa/wp.ctc, but can be located elsewhere depending on the environment's Solutions Installer configuration.

    1. Prevent the base components from being uninstalled by setting the following properties to “false":

      • components/wp.ctc

      • components/wp.ctc.sitetemplates

      • components/wp.ctc.design

      • components/wp.ctc.templates

    2. Mark the demo and page templates to be uninstalled by setting the following properties to “true":

      • components/wp.ctc.demo

      • components/wp.ctc.demo.mls

  2. Open a command prompt and navigate to the WP_PROFILE directory.

  3. 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=myVirtualPortal

      AIX HP-UX Linux

        ./ConfigEngine.sh remove-paa -DappName=wp.ctc -DVirtualPortalHostName=myhost.example.com -DVirtualPortalContext=myVirtualPortal

    where

    • VirtualPortalHostName is the host name of the virtual portal.

    • VirtualPortalContext is the context path for the virtual portal.

  4. Open a command prompt and navigate to the PORTAL_HOME/bin directory.

  5. 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/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/paa/wp.ctc/components/wp.ctc.templates/xmlaccess/uninstall/delete-ctc-templates.xml

    Where username is an admin user and userpassword is its password, and where vpconfigurl is the virtual portal config URL. For example:

    • http://server:port/wps/config/VirtualPortalContext

    • http://VirtualPortalHostName:port/wps/config/


Parent Uninstall Content Template Catalog