ViewListUpdate

The ViewListUpdate verb reorders a dimension view list.

The user interface equivalent is to drag the dimension views into the required order in the list.

You cannot move the default views. All Categories and Omit Dimensions always display as the first and second items in the list.

The syntax is as follows:

 ViewListUpdate [Dimension  objDim] StartList  objViews EndList 

Argument

Description

Dimension objDim

Must be specified if the views are not referenced by object identifier. objDim can be the object name, object identifier, or both.

StartList objViews

Lists the dimension views in the desired order. The dimension views can be identified by object name or object identifier.

Example

This example moves the views Far East and Europe to the top of the custom views in the dimension view list. The default views still always display first.

ViewListUpdate Dimension "Locations" StartList "Far East" "Europe" EndList