+

Search Tips   |   Advanced Search

XML configuration interface parameters for the web content viewer

As with other portlets in the portal, we can use xmlaccess.sh to deploy and configure the web content viewer. Portlet parameters can be path values in addition to standard IDs.

By default web content viewer is configured with unique IDs. This has the advantage that the configuration does not break if an item is renamed or moved. However, when configuring a portlet with xmlaccess.sh, it can be difficult to determine the unique ID of an item. When configuring the Web content viewer, we can reference web content items by their path, as well as by their IDs, using the following parameters:

AUTHORINGTEMPLATE_OVERRIDE

Authoring templates of the profile section. The parameter can contain multiple values, separated by commas. The list can contain both ID and path values.

CATEGORY_OVERRIDE

Categories of the profile section. To list multiple categories, separate the categories by commas. We can use both ID values and path values.

SITEAREA_OVERRIDE

Site areas of the profile section. To list multiple site areas, separate the site areas by commas. We can use both ID values and path values.

WCM_BROADCASTS_TO

Link broadcasting setting for the web content viewer. Values include:

    WCM_LINKING_DYNAMIC Information about the web content item displayed in the web content viewer is used to dynamically determine to which page the context is broadcast.
    WCM_LINKING_SELF The context of the current Web content viewer is broadcast to other web content viewers on the same portal page.
    WCM_LINKING_OTHER The context of the current Web content viewer is broadcast to other web content viewers on another portal page, as specified by the WCM_PORTAL_PAGE_ID parameter.
    WCM_LINKING_NONE The context of the current Web content viewer is not broadcast to other web content viewers.

WCM_COMPONENT_IDR

Specifies a library component and is only used if content type Component is selected.

WCM_CONTENT_COMPONENT

Name of the element to be displayed, when the WCM_CONTENT_TYPE parameter has the value CONTENT_COMPONENT.

WCM_CONTENT_CONTEXT_IDR

Content render context. It can be a content item or site area, as specified by the WCM_CONTENT_CONTEXT_TYPE parameter.

WCM_CONTENT_CONTEXT_TYPE

Type of the configured content context. Values include:

    CONTENT Indicates that the content context is a content item.
    PARENT Indicates that the content context is a site area.

WCM_CONTENT_TYPE

Specifies the item to be displayed. Values include:

    CONTENT Indicates that the item to be displayed is a content item.
    COMPONENT Indicates that the item to be displayed is a component.
    CONTENT_COMPONENT Indicates that the item to be displayed is an element.

WCM_DESIGN_IDR

Specifies an alternate presentation template.

WCM_LISTENS_TO

How the web content viewer is configured to receive links broadcast from other web content viewers. Values include:

  • WCM_LINKING_OTHER
  • Information is received from any web content viewer broadcasting links.

  • WCM_LINKING_SELF
  • Information is received only from this web content viewer.

  • WCM_LINKING_NONE
  • No information from other web content viewers is received.

WCM_PAGE_TITLE

Used with the WCM_PAGE_TITLE_TYPE parameter, this parameter specifies the page title for the web content viewer. Values include:

  • The user-defined title for the page, if the WCM_PAGE_TITLE_TYPE parameter has a value of WCM_PAGE_TITLE_TYPE_GENERAL.

  • The name of the resource bundle containing the title for the page, if the WCM_PAGE_TITLE_TYPE parameter has a value of WCM_PAGE_TITLE_TYPE_RESBUN.

WCM_PAGE_TITLE_TYPE

How the page title is displayed for the web content viewer. Value include:

    WCM_PAGE_TITLE_TYPE_DEFAULT The default title defined in the portal's administration interface is used.
    WCM_PAGE_TITLE_TYPE_GENERAL A user-defined title is used, as specified by WCM_PAGE_TITLE parameter.
    WCM_PAGE_TITLE_TYPE_RESBUN The title is defined in a resource bundle, as specified by WCM_PAGE_TITLE parameter.
    WCM_PAGE_TITLE_TYPE_DYN The title is defined by the value of the Display title field for the content item that is displayed in the web content viewer.

WCM_PORTAL_PAGE_ID

Specifies the unique name or object ID of the page which is the target for link broadcasts, when the WCM_BROADCASTS_TO parameter is set to WCM_LINKING_OTHER.

WCM_PORTLET_TITLE

Used with the WCM_PORTLET_TITLE_TYPE parameter, this parameter specifies the portlet title for the web content viewer. Values include:

  • The user-defined title for the portlet, if the WCM_PORTLET_TITLE_TYPE parameter has a value of WCM_PORTLET_TITLE_TYPE_GENERAL.

  • The name of the resource bundle containing the title for the portlet, if the WCM_PORTLET_TITLE_TYPE parameter has a value of WCM_PORTLET_TITLE_TYPE_RESBUN.

WCM_PORTLET_TITLE_TYPE

How the portlet title is displayed for the web content viewer. Value include:

    WCM_PORTLET_TITLE_TYPE_DEFAULT The default title defined in the portal's administration interface is used.
    WCM_PORTLET_TITLE_TYPE_GENERAL A user-defined title is used, as specified by WCM_PORTLET_TITLE parameter.
    WCM_PORTLET_TITLE_TYPE_RESBUN The title is defined in a resource bundle, as specified by WCM_PORTLET_TITLE parameter.
    WCM_PORTLET_TITLE_TYPE_DYN The title is defined by the value of the Display title field for the content item that is displayed in the web content viewer.

When specifying a content path, begin with the forward slash character (/) followed by the library name, as indicated in the following examples of valid content paths:

/mylib/myfolder/mysitearea/mycontent
or
/mylib/mypresentationtemplate

If we configure an item by its path rather than by its ID, the portlet configuration can become invalid if the item is renamed or moved. If an item has been configured by its path, the web content viewer displays a small path icon after the item when we are in the Edit Shared Settings or Configure mode.

Important: When configuring an item by its path, we cannot build the path from the Display title fields of the items in the path. Use the Name fields of the items when specifying the path.


Parent: Configure a web content delivery environment

Related:

xmlaccess.sh