-
Notifications
You must be signed in to change notification settings - Fork 35
Folder
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
.add()
.createFolder()
.labelExpression()
.labelValue()
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
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
See .labelExpression
See .labelValue
If you value and use Archi please consider making a donation. Thanks!