MetabaseObjectsView.Metabase

Syntax

Metabase: PP.Mb.Metabase;

Description

The Metabase property determines a repository that provides data for component.

Comments

Use JSON or the setMetabase method to set the property value, and the getMetabase 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 repository instance
view.getMetabase();
// -> PP.Mb.Metabase {_Events: Object, _typeName: "PP.Mb.Metabase", Closed: PP.Delegate, Refreshed: PP.Delegate, Opened: PP.Delegate…}

After executing the example a repository instance is obtained.

See also:

MetabaseObjectsView