Skip to content
Phil Beauvoir edited this page Feb 23, 2024 · 3 revisions

Note

Attributes and methods described in this section are available only on Folders in the Models Tree

Contents

.add()
.createFolder()
.labelExpression()
.labelValue()


.add()

Add a concept, a view or a sub-folder to a folder. If the object already has a parent folder then the object is moved to the folder.

folder.add(concept);
folder.add(view);
folder.add(folder);

Example:

var concept = ....; Reference to an existing concept
var folder = $("folder.My Folder").first(); // Find folder called "My Folder" 
folder.add(concept); // Move the concept to this folder

.createFolder()

Create a new (sub-)folder.

folder.createFolder("New Folder");

Example:

var folder = $("folder.Business").first(); // Find folder called "Business" 
folder.createFolder("Processes"); // Create a sub-folder called Processes

.labelExpression

See .labelExpression

.labelValue

See .labelValue