Set service context

This topic describes the elements on the Service Tree preferences Context tab. This topic also describes how to set the options on this tab.

About this task

The Context tab options let you specify the default top-level service for your tree, or whether the tree changes in response to context passed from other portlets or pages.

The Set Starting Instance option lets you select a default service from a tree of your service models. This service displays as the default in the Service Tree portlet. You can set the starting service instance for your user ID only or for one of the groups you belong to.

The Change starting instance when Node clicked on or launch page events are received option lets you specify if the tree accepts context from another page or from other portlets on the same page.

To set the context for a Service Tree portlet, complete the following steps:

Procedure

  1. From the Context tab in the Service Tree preferences, choose from these options:
    Change starting instance when Node clicked on or launch page events are received.
    When you select this option, the tree accepts context from another page or from other portlets on the same page. When the service tree receives context, it shows either the service passed as context or its child services as the default view. For example, if you select a service in another tree on the same page, the context of this Service Tree changes to show the selected service.

    By default, it is not selected. If it is not selected, the tree does not receive context from other portlets or pages.

    Show starting node in tree
    To use this option, select the service you want to display by default from the Service Tree. Then select this option to show the service as the only root node in the Service Tree.

    By default, it is not selected. If it is not selected, the immediate children of the starting instance become the root nodes of the tree.

    Broadcast service instance to page after tree loaded
    When you configure this option, after the tree is loaded, it broadcasts service context data to the other portlets on the page. This enables the initial content for the page. To enter the broadcast service instance, select one of the following values:
    • - 1: Indicates that there is no automatic selection of the initial row.
    • 0: Indicates that the first row is automatically selected.
    • 1: Indicates that the second row is automatically selected.
    • 99: Indicates that the 100th row is automatically selected.
  2. Click OK to save your preferences.