ShowOnlyFolders: Array|Number
The ShowOnlyFolders property shows only folder with specified key and its parent folders in a base dialog with repository.
Use JSON or the setShowOnlyFolders method to set the property value and the getShowOnlyFolders method to get the property value.
To execute the example, the HTML page must contain the MetabaseDialogBase component named metabaseDialogBase (see Example of creating the MetabaseDialogBase component), and the repository must contain a folder with the key 107. Show only the given folder and its parent folders in a base dialog with repository:
metabaseDialogBase.setShowOnlyFolders([107]);
After executing the example a base dialog with repository shows only the folder with the 107 key and its parent folder:
See also: