Views Collection

The Views collection groups View objects.

Discussion

Use this collection to add, select or remove a View object.

In many organizations, you do not need to make all model data available to all users. One way to limit data is to create a view, which is a subset of the levels and categories in a dimension. You can group several views related to a dimension in a Views collection.

To return this collection, use the Views property.

These tables list related methods and properties.

Method

Description

Add Method ()

Adds a View object to the collection.

Item Method

Selects a specific View object in the collection.

Remove Method

Removes a specific View object from the collection.

Property

Description

Application Property

Returns the Transformer Application object.

Count Property

Returns the number of View objects in the collection.

Parent Property

Returns the parent object.

Examples

objDimension = objModel.Dimensions("Retailers")
objView = objDimension.Views.Add()