ICubeMetaLoader.LoadEmptyValues

Syntax

LoadEmptyValues: Boolean;

Description

The LoadEmptyValues property determines whether to load empty values of time series.

Comments

Available values:

Example

Executing the example requires that the repository contains a time series database with the TSBD identifier. The database contains an import object with the OBJ_IMPORT identifier that imports data from all sources except for time series databases.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    Metabase: IMetabase;
    RubrDescr: IMetabaseObjectDescriptor;
    ImpRequestDef: IImportRequestDefinition;
    MetaLoader: ICubeMetaLoader;
Begin
    Metabase := MetabaseClass.Active;
    RubrDescr := Metabase.ItemById("TSDB");
    // Get import object
    ImpRequestDef := Metabase.ItemByIdNamespace("OBJ_IMPORT", RubrDescr.Key).Edit As IImportRequestDefinition;
    MetaLoader := ImpRequestDef.ProviderParams As ICubeMetaLoader;
    // Set up parameters empty value loading
    MetaLoader.LoadEmptyValues := True;
    (ImpRequestDef As IMetabaseObject).Save;
End Sub UserProc;

After executing the example import object parameters are changed: empty values are imported to the time series database.

See also:

ICubeMetaLoader