getMetabase ();
The getMetabase method returns a metabase instance.
To execute the example, create a service for working with time series, named hieSrv (see HieService.getChildEls) and add the following code to the handler that processes document opening:
console.log("Get repository"); var metabase = hieSrv.getMetabase(); console.log(metabase);
After executing the example the browser console will show JSON object of the metabase hierarchy:
Get repository
PP.Mb.Metabase {_Events: Object, Closed: PP.Delegate, Refreshed: PP.Delegate, Opened: PP.Delegate, FindObjectsLoaded: PP.Delegate…}
See also: