+

Search Tips   |   Advanced Search

xmlaccess.sh parameters for Web Content Viewer

We can use xmlaccess.sh to deploy and configure the Web Content Viewer. The portlet parameters can be path values or IDs. Web Content Viewer is configured with unique IDs. The configuration does not break if an item is renamed or moved. Determining the unique ID of an item can be difficult.

Reference web content items by their path using the following parameters:

    AUTHORINGTEMPLATE_OVERRIDE

    Authoring templates of the profile section. Multiple values are 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. 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. Use both ID values and path values.

    WCM_BROADCASTS_TO

    Link broadcasting setting for the Web Content Viewer.

      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_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.

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

    WCM_CONTENT_TYPE

    Specifies the item to be displayed.

      CONTENT Item to be displayed is a content item.
      COMPONENT Item to be displayed is a component.
      CONTENT_COMPONENT 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 that are broadcast from other Web Content Viewers.

      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.

    • 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.

    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 displayed in the Web Content Viewer.
    WCM_PAGE_TITLE_TYPE_DYN_CONTENT_CMPNT The title is defined by the value of an element of the content item displayed in the Web Content Viewer. We also specify the element name using the WCM_PAGE_TITLE parameter.

WCM_PORTAL_PAGE_ID

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.

  • 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.

    WCM_PORTLET_TITLE_TYPE_DEFAULT Default title defined in portal's administration interface.
    WCM_PORTLET_TITLE_TYPE_GENERAL User-defined title, as specified by WCM_PORTLET_TITLE parameter.
    WCM_PORTLET_TITLE_TYPE_RESBUN Title defined in a resource bundle, as specified by WCM_PORTLET_TITLE parameter.
    WCM_PORTLET_TITLE_TYPE_DYN Title defined by the value of the "Display title" field for the content item displayed in the Web Content Viewer.
    WCM_PORTLET_TITLE_TYPE_DYN_CONTENT_CMPNT Title defined by the value of an element of the content item displayed in the Web Content Viewer. We also specify the element name using the WCM_PORTLET_TITLE parameter.

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.

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 concepts:

xmlaccess.sh