CubeGroupCubeUpdate

The CubeGroupCubeUpdate verb updates an existing PowerCube within a PowerCubeGroup object in the Cognos® Transformer model. It does not modify existing .mdc files.

The user interface equivalent is to modify the Cube Group property sheet.

For more information about updating cubes in cube groups, see CubeGroupCubeMake.

The syntax is as follows:

CubeGroupCubeUpdate objCubeGroupCube [
CubeGroup objCubeGroup] [powercubeopts]

Argument

Description

CubeGroupCubeUpdate objCubeGroupCube

Specifies the cube group cube to update. objCubeGroupCube can be the object name, object identifier, or both.

CubeGroup objCubeGroup

Specifies the cube group. objCubeGroup can be the object name, object identifier, or both.

powercubeopts

Optional parameters that describe the cube in greater detail. For the complete list of options, see powercubeopts. Previously set options are retained unless you change them with this command.

Example

This example modifies the cube Outdoor Products from cubegroup1 by enabling drill-through.

CubeGroupCubeUpdate "Outdoor Products" CubeGroup "cubegroup1"
DrillThrough True EndList DrillThrough True EndList