MetaHierarchy.IsAttributeFilter

Syntax

IsAttributeFilter: Boolean;

Description

The IsAttributeFilter property determines whether a filter is set for the attribute with specified ID.

Comments

If this property is set to True, the filter is set, otherwise the filter is not set.

Example

Executing this example requires a dimension with the 0 key and an attribute with the DL identifier. Create a service for working with time series, get a workbook instance from time series database, get an instance of metadata hierarchy named hie (see MetaHierarchy.ChildEls) and add the following code in the document open event handler:

console.log("Determine whether filter is set for attribute with the DL identifier");
var isAttrFilter = hie.getIsAttributeFilter("DL");
console.log(isAttrFilter);

After executing the example the browser console displays filter indicator:

Determine if a filter is set for an attribute with the ID "DL"

true

See also:

MetaHierarchy