Skip to content

Staging artifacts that are not transferred by syndication

The ExportManagedPagesRelease.xml file provides an example that you can use with the XML configuration interface to export all portal artifacts except pages and wires. You can use this file when staging to production with managed pages.

Stage artifacts that are not part of the syndication, such as portlet definitions, themes, and personalization rules with the release builder Portal staging tool. It ensures that the artifacts have the same object IDs across the staging systems because they are referenced by this object ID.

The file is in the [PortalServer\_root](../reference/wpsdirstr.md#wp_root)/doc/xml-samples directory.

    1. To export these artifacts with the ExportManagedPagesRelease.xml file, use the xmlaccess command.

    2. AIX® amd Linux™

      ./xmlaccess.sh -in /opt/IBM/WebSphere/PortalServer/doc/xml-samples/ExportManagedPagesRelease.xml -out /Sample1/content/xmlaccess/install/staging-version1.xml -url "http://stagingserver.example.com:port/wps/config" -user wpsadmin_user_ID -password wpsadmin_pwd

    3. Windows™

      xmlaccess.bat -in C:\\IBM\WebSphere\PortalServer\doc\xml-samples\ExportManagedPagesRelease.xml -out \Sample1\content\xmlaccess\install\staging-version1.xml -url "http://stagingserver.example.com:port/wps/config" -user wpsadmin_user_ID -password wpsadmin_pwd

    The exported configuration is stored in the staging-version1.xml file.

  1. You can use the exported file to import these artifacts. Use the /Sample1/content/xmlaccess/install/staging-version1.xml file and use the xmlaccess command.

    • AIX® amd Linux™

      ./xmlaccess.sh -in /Sample1/content/xmlaccess/install/staging-version1.xml -out /Sample1/content/xmlaccess/install/staging-version1-Output.xml -url "http://productionserver.example.com:port/wps/config" -user wpsadmin_user_ID -password wpsadmin_pwd

    • Windows™

      xmlaccess.bat -in C:\\Sample1\content\xmlaccess\install\staging-version1.xml -out C:\\Sample1\content\xmlaccess\install\staging-version1-Output.xml -url "http://stagingserver.example.com:port/wps/config" -user wpsadmin_user_ID -password wpsadmin_pwd

Related information