Workbench definition
Workbench is a view that displays content items in a workspace. It’s 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. By default, JCR content apps use the tree view type.
The workbench also provides a default search box.
This workbench definition is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.ui.contentapp.configuration.WorkbenchDefinition. If you work with the Magnolia 5 UI framework, see Workbench definition for Magnolia 5 UI instead. |
Example definition
workbench:
contentViews:
# add view definitions
extensionViews:
- view:
$type: thumbnailView
icon: icon-view-thumbnails
expandRatio: 1f
name: wbName
Workbench properties
Property | Description | ||
---|---|---|---|
|
required Parent node for the content view definitions. Defines how users can view content in the workbench. Must contain at least one content view. For more information, see Content view definition. |
||
optional List of extension views configured in the workbench. Available classes:
|
|||
|
optional Contains a list of info.magnolia.ui.filteringapp.filter.FilterViewDefinition. For more information, see configuring search |
||
|
required Actual view definition to be displayed in the extension panel. Must implement the info.magnolia.ui.ViewDefinition interface. |
||
|
optional, default is Defines how space is divided in the workbench.
A value of |
||
|
optional, default is When |
||
|
optional, default is CSS class that identifies an icon used for the extension panel. For available names, see Icons. |
||
|
optional, default is Name of the workbench. |