IMetaAttributesBreadcrumb.ApplyDefaultAttriburesOrder

Syntax

ApplyDefaultAttriburesOrder;

Description

The ApplyDefaultAttriburesOrder method applies default hierarchy of attributes.

Comments

Only time series attributes are used in the default hierarchy.

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.

See also:

IMetaAttributesBreadcrumb