Components of a view
You can define some or all of the components of a view.
- Contents of the view
- The columns or items of data that are to be displayed in the view.
- Title
- The title of the view is displayed at the top of the page.
- View annotation
- You can add text as an annotation to any view. It will appear below the data display. An annotation can be any text and may be in your national language. You could, for instance, provide guidance for the user on what to do next, if the view forms part of a procedure.
- Action buttons
- You can add as many action buttons as you want to a view. You select the action you want to perform, and the text that you want to appear on the button. See Action buttons for more information.
- Link to customizable view and menu help
- This link, if defined, is located alongside the view title. For more details about the customizable view and menu help, see Customizable view and menu help.
- Selection criteria
- Selection criteria are the context and scope settings and any filters
available to the user. You can define whether the context and scope fields
are to be hidden, read-only, or modifiable by the user.
You can also specify any attributes or parameters that will always be available to the user as filters.
- Automatic refresh
- Users with Javascript-enabled browsers can update views periodically. If automatic refresh is defined as available, an entry field and a check box appear in the Selection criteria and refresh area. The user is then able to turn the automatic refresh facility on or off, and change the refresh interval.
- Links
- Links connect a field in one view with related information in another
view, which may or may not be in the same view set.
- Link to a view in the same view set
- You can create a link from a specific attribute, such as a transaction name, to a detail view in the same view set. As the views are in the same view set the details displayed will reflect the status of the transaction at the time the original view was created. That is, the data is not refreshed.
- Link to a view in another view set
- You can create a link to related resources, for example, from a task to a transaction, in another view set. In this case, new data is collected, and filters can be defined on the link. For example, you can set the scope for the target view.
- Conditional links
- You
can specify whether a link is always to be available on a view or, is conditional
based on an attribute value at the source of the link. The conditions that
the attribute value can be tested against are:
- If the attribute is valid at this release of CICS®, and the attribute value is equal to the specified value.
- If the attribute is valid at this release of CICS, and the attribute value is not equal to the specified value.
- If the attribute is valid at this release of CICS.
For an example of setting up a conditional link, see Using view links and attribute filters.