IMetaAttributesBreadcrumb.ApplyDefaultAttriburesOrder

Fore Syntax

ApplyDefaultAttriburesOrder;

Fore.NET Syntax

ApplyDefaultAttriburesOrder();

Description

The ApplyDefaultAttriburesOrder method applies default hierarchy of attributes.

Comments

Only time series attributes are used in the default hierarchy.

Fore Example

Executing the example requires a form with the MetaAttributesBreadcrumb component with the MetaAttributesBreadcrumb1 identifier. The repository must contain a time series database with the TSDB_HIE_BY_DEF identifier.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    mb: IMetabase;
Begin
    mb := MetabaseClass.Active;
    MetaAttributesBreadcrumb1.Rubricator := mb.ItemById("TSDB_HIE_BY_DEF").Open(NullAs IRubricatorInstance;
    MetaAttributesBreadcrumb1.ApplyDefaultAttributesOrder;
End Sub UserProc;

After executing the example the default hierarchy of attributes is loaded to the MetaAttributesBreadcrumb1 component.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.

Imports Prognoz.Platform.Interop.Metabase;Imports Prognoz.Platform.Interop.Cubes;…Public Sub UserProc();Var    mb: IMetabase;Begin    mb := Self.Metabase;    metaAttributesBreadcrumbNet1.CtrlBox.Rubricator := mb.ItemById["TSDB_HIE_BY_DEF"].Open(NullAs IRubricatorInstance;    metaAttributesBreadcrumbNet1.CtrlBox.ApplyDefaultAttributesOrder();End Sub UserProc;

See also:

IMetaAttributesBreadcrumb