Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
73:workspaces [2020/09/22 12:29] – [Manage Workspaces] cafs | 73:workspaces [2020/09/25 07:41] – cafs | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Manage Workspaces ====== | ====== Manage Workspaces ====== | ||
- | |||
- | {{youtube> | ||
- | |||
===== Manage the Workspace Tree ===== | ===== Manage the Workspace Tree ===== | ||
Line 16: | Line 13: | ||
Workspaces can now have specific attributes. Administrators can globally define possible attributes via the '' | Workspaces can now have specific attributes. Administrators can globally define possible attributes via the '' | ||
- | {{ : | + | [[https:// |
Attributes can be of type string or selection. Here is an example of how to define a selection and its possible values: | Attributes can be of type string or selection. Here is an example of how to define a selection and its possible values: | ||
- | {{ : | + | [[https:// |
After defining the attributes, they can be used in individual workspaces. To set an attribute to a specific value for a workspace, use the '' | After defining the attributes, they can be used in individual workspaces. To set an attribute to a specific value for a workspace, use the '' | ||
- | {{ : | + | [[https:// |
- | In Stages 7.3, the workspace attributes can be used in scripts, e.g. to select only a specific set of workspaces: | + | In Stages 7.3, the workspace attributes can be used in scripts, e.g. to select only a specific set of workspaces:< |
- | < | ||
var workspace = stages.getProjectByPath(workspacePath); | var workspace = stages.getProjectByPath(workspacePath); | ||
var modelYearAttribute = workspace.getAttribute(" | var modelYearAttribute = workspace.getAttribute(" | ||
Line 36: | Line 32: | ||
... | ... | ||
} | } | ||
+ | |||
</ | </ | ||