ICompoundDimensionSources.ShowSourceName

Fore Syntax

ShowSourceName: Boolean;

Fore.NET Syntax

ShowSourceName: Boolean;

Description

The ShowSourceName property determines whether source names are displayed in composite dictionary element names.

Comments

Available values:

Fore Example

Executing the example requires that the repository contains a virtual cube with the VirtCube identifier.

Sub UserProc;
Var
    MB: IMetabase;
    VCube: IVirtualCube;
    Dimension: ICompoundDimension;
Begin
    Mb := MetabaseClass.Active;
    VCube := MB.ItemById("VirtCube").Edit As IVirtualCube;
    Dimension := VCube.FactDimension As ICompoundDimension;
    Dimension.Sources.ShowSourceName := True;
    (VCube As IMetabaseObject).Save;
End Sub UserProc;

After executing the example virtual cube facts dimension parameters are changed: element names always display source names.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore Example.

Imports Prognoz.Platform.Interop.Cubes;
Imports Prognoz.Platform.Interop.Dimensions;
Imports Prognoz.Platform.Interop.Metabase;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    VCube: IVirtualCube;
    Dimension: ICompoundDimension;
Begin
    Mb := Params.Metabase;
    VCube := MB.ItemById["VirtCube"].Edit() As IVirtualCube;
    Dimension := VCube.FactDimension As ICompoundDimension;
    Dimension.Sources.ShowSourceName := True;
    (VCube As IMetabaseObject).Save();
End Sub;

See also:

ICompoundDimensionSources