QueryLevelDef component

Obtained from the hierarchy palette, this component sets up a NEQL query that returns the data displayed in a hierarchy. QueryLevelDef is added to a hierarchy definition usually following one or more GroupLevelDef or ListLevelDef components.
Image
Property Value Description
Query Context Config Facets dialog box

The current location is one item that could be placed in the query context. The facet value is compared with the value of the context tag on a device or point at a lower level in the navigation tree.

The query context can hold anything to be used in LevelDef queries. It is comparable to a hierarchy scoped variable. You could create multiple copies of such a hierarchy definition and then customize each copy with the query context of the specific hierarchy.

Query NEQL query

This property is a NEQL query. You may use all the NEQL operators: and, or, etc.

The Context expression feature of NEQL can also be included to access values in the query context. Facet keys (found in the query context) surrounded by braces will be replaced by the value of the facet. For example, in the query hs:siteRef = {siteId}, "{siteId}" will be replaced by the value of the siteId facet in the query context.

Include Grouping Queries true (default), false True: Preceding GroupLevelDef queries in the hierarchy are prepended to the current NEQL query.

False: Prevents preceding GroupLevelDef queries from prepending to the current NEQL query. This results in LevelElems for all query results being appended to the grouping LevelElems instead of just those query results that also match preceding grouping values in the hierarchy.

Sort None, Ascending (default), Descending

Determines the order in which results display.