MetabaseObjectsView.RootKey

Syntax

RootKey : Number;

Description

The RootKey property determines a root object, which objects are displayed in component.

Comments

Use JSON or the setRootKey method to set the property value and the getRootKey method to get the property value.

Example

To execute the example, the page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component.

// Get object view
view = navbox.getObjectsView();
// Get root object key
view.getRootKey();

After executing the example the root object key is obtained.

See also:

MetabaseObjectsView