MetabaseObjectsView.getSelectedObjects

Syntax

getSelectedObjects();

Description

The getSelectedObjects method returns selected repository objects.

Comments

The method returns an array of objects of the PP.Mb.Object type.

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 objects
view.getSelectedObjects();
// -> [PP.Mb.Object, PP.Mb.Object, PP.Mb.Object ]

After executing the example the selected repository objects are obtained.

See also:

MetabaseObjectsView