getMetabase();
The getMetabase method returns a repository.
The method returns an object of the PP.Mb.Metabase class.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Get repository identifier:
// Get service to work with the express report var eaxMdService = expressBox.getService(); // Get repository identifier console.log("Repository identifier: " + eaxMdService.getMetabase().getId());
After executing the example the browser console displays identifier of the repository connected with the current express report:
Repository identifier: WAREHOUSE
See also: