<viewTypeToolDef> Element

The viewTypeToolDef element is a member of the following categories:

Use the viewTypeToolDef to define a View Type tool to display apart from the View Toolbar. The View Type tool allows users to change the type of presentation between a thin crosstab and a thin graph.

If you use the viewToolbarDef element, then you do not need to define the View Type tool.

Attributes

id -- (Required) A unique identifier for this element.

scope -- Determines the accessibility and lifetime of the object; select one of the following values: Request or Session (Default).

presentationId -- (Required) Specifies the identifier of the presentationDef element with which the tool is associated. This presentationDef element must be contained in the same page as the viewTypeToolDef element. The presentation that you specify in this attribute contains the query that will be displayed in the new view.

Usage notes

The viewTypeToolDef element is a child of the biThinSession element.

To render the View Type tool that is defined by this element, use the viewTypeTool element.