NavigatorBox.getCustomClassObject

Syntax

getCustomClassObject(obj);

Parameters

obj. Custom class object, an instance of the PP.Mb.Object or PP.Mb.Descriptor class.

Description

The getCustomClassObject method returns identifier of custom object class.

Example

To execute the example, the HTML page must contain a repository object named mb (see Example of Creating the NavigatorBox Component). A custom class and its objects must be created in the repository (see Creating an Eigenclass Object). Get class of the selected custom object:

obj = navbox.getSelectedObjects()[0];//get the first selected object

Console.log(navbox.getCustomClassObject(obj));//get class of custom object, an element of PP.Mb.Ui.MetabaseObjectClass.

After executing the example the browser console displays class identifier for the first selected custom object.

See also:

NavigatorBox