ICompoundDimension.CustomContainer

Syntax

CustomContainer: ICustomDimension;

Description

The CustomContainer property determines sources for constructing composite dictionary based on fact dimension of the cube.

Example

Executing the example requires that repository contains a virtual cube with the CUBE_VIRTUAL identifier and constructed dictionary with the OBJ_CUSTOMDIM identifier.

Sub Main;

Var

Mb: IMetabase;

Obj, MbObj: IMetabaseObject;

Cub: IVirtualCube;

Dim: ICompoundDimension;

CubeModel: ICubeModel;

CustDim: ICustomDimension;

Begin

Mb := MetabaseClass.Active;

Obj := Mb.ItemById("CUBE_VIRTUAL").Edit;

Cub := Obj As IVirtualCube;

dim := Cub.FactDimension As ICompoundDimension;

CubeModel := Cub As ICubeModel;

MbObj := Mb.ItemById("OBJ_CUSTOMDIM").Bind;

CustDim := MbObj As ICustomDimension;

Dim.CustomContainer := CustDim;

Obj.Save;

End Sub Main;

After executing the example the fact dimension of virtual cube is defined as a composite dictionary. This dimension will be based on the constructed dictionary.

See also:

ICompoundDimension