LoadEmptyValues: Boolean;
The LoadEmptyValues property determines whether the empty values of factors are loaded.
Available values:
True. Empty values of factors are loaded to the database.
False. Default value. Empty values of factors are not imported.
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
Mb: IMetabase;
RubrDescr: IMetabaseObjectDescriptor;
ImpRequestDef: IImportRequestDefinition;
ImpProvParams: IImportRequestProviderParams;
Begin
Mb := MetabaseClass.Active;
RubrDescr := Mb.ItemById("TSDB");
// Get import object
ImpRequestDef := Mb.ItemByIdNamespace("OBJ_IMPORT", RubrDescr.Key).Edit As IImportRequestDefinition;
ImpProvParams := ImpRequestDef.ProviderParams;
// Set up parameters empty value loading
ImpProvParams.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: