MetabaseObjectsView.FolderTreeFilter

Syntax

FolderTreeFilter : Array of PP.Mb.MetabaseObjectClass;

Description

The FolderTreeFilter property determines filter for containers.

Comments

The property contains the enumeration with keys from the PP.Mb.MetabaseObjectClass enumeration. The specified object types are displayed.

Use JSON or the setFolderTreeFilter method to set the property value and the getFolderTreeFilter 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();
// set up container filter
view.setFolderTreeFilter([0]);
// Refresh 
view.refresh();

After executing the example the filter displaying folders is set up.

See also:

MetabaseObjectsView