+

Search Tips   |   Advanced Search

Transfer content associations to the Portal Site library


Overview

When managed pages is enabled, all web content pages, other than Administration pages, are converted to managed pages, and added to the Portal Site library. The content associated with the pages remains in the original libraries. We can transfer this associated content to the Portal Site library with the task...

    internalize-content-mappings

Administration pages are not intended to be managed pages, and are not included when we enabled managed pages..

When we transfer the content association for a page to the Portal Site library...

  • The content referenced by the default content association for the page is copied to the portal page site area for the page. Only the default content association is affected; other content associations for the page are ignored.

    Nested pages are not copied.

  • Nested site areas are not copied if the nested site area

    • Is referenced by the default association of another page.
    • Has the same name as an existing site area for the same page.

  • Template mappings and content elements that exist in the associated site area are copied over into the portal page. If the template mapping or element already exists for the page, the copy is not performed.

  • The default content setting for the portal page is modified to reference the copied content.

  • The configuration of any web content viewers on the page is updated to reference the content stored in the portal page site area. However, viewer configurations that use content paths are not affected.


Transfer content associations

    cd WP_PROFILE/ConfigEngine.
    ./ConfigEngine.sh internalize-content-mappings -DPortalPage=target_page -DIncludeDescendants=true_or_false -DSynchronous=true_or_false -DPortalAdminPwd=foo -DWasPassword=foo

The following properties must be specified either on the command line or in wkplc.properties.

    PortalPage The object ID or the unique page name of the page for which to transfer content. If the target page is contained in a virtual portal, identify the virtual portal by specifying either the VirtualPortalContext parameter or VirtualPortalHost parameter.
    IncludeDescendants Transfer content for the target page and any child pages. To transfer content only for the target page, specify false. Default is true.
    Synchronous Set true to perform the transfer synchronously. To perform the transfer asynchronously, specify false. Default is true.
    Verbose Set true to output additional information to the log. To generate basic log information, specify false. If not specified, the default value is false.
    VirtualPortalContext Virtual portal context that identifies the virtual portal. For example, vp1.
    VirtualPortalHost Host name of the virtual portal. For example, vp.example.com. If the host name of the virtual portal is the same as the host name of the default virtual portal, we must also specify the VirtualPortalContext property. We can specify the VirtualPortalHost property by itself only if the host name is unique.
    PortalAdminPwd The administrator password for HCL WebSphere Portal.
    WasPassword The administrator password for WebSphere Application Server.

Example commands:

    ./ConfigEngine.sh internalize-content-mappings -DPortalPage=example.page -DIncludeDescendants=true -DSynchronous=true -DPortalAdminPwd=foo -DWasPassword=foo


Parent Configure managed pages