This workbench definition has been deprecated since Magnolia 6.0. It is part of the Magnolia 5 UI framework.
For the updated implementation, see Workbench definition for Magnolia 6 UI instead.
Workbench is a view that displays content items in a workspace. It is part of the content app framework, typically defined in the browser subapp. The workbench contains a list of content views. Common view types are tree, list and thumbnail.
Here is an example workbench definition from the Contacts app. This workbench operates on the
contacts workspace and displays contacts and folders.
Defines how users can view content in the workbench. The parent node for the specific content view definitions. It must contain at least one content view, see Content view definition.
optional, default is true
optional, default is AlwaysTrueDropConstraint
A drag-and-drop constraint class. By restricting the nodes that a user can move you can enforce a certain node hierarchy. For example, you might want to allow content to be moved under folders but not folders under content. If the class is not defined, the
Makes the workbench editable inline. You can double-click a cell to edit its value. Works only for columns which are also configured as editable.
Inline editing is available only in the tree view, not in list, thumbnail or search views.
Definining a default action will override inline editing. Double-clicking the cell with trigger the default action instead of inline edit mode.
A list of configured content tools. (A content tool must be configured with