There are different ways to use the module.
Find the file in the decorations app and edit it.
Add the item usage workbench code snippet to the workbench column. You can add additional column properties like label and width. See https://docs.magnolia-cms.com/product-docs/6.2/Apps/App-configuration/Column-definition.html#_column_properties for all list of all properties.
itemUsage: &itemUsage $type: itemIdUsageColumn descriptionGenerator: ch.esense.itemusage.ItemUsageDescriptionGenerator |
After closing and re-open the dam app, the new column appears in tree workbench.
Add the following folder structure to your modules decorations folder.
dam/apps |
Create a yaml file
dam.subApps.jcrBrowser.workbench.yaml |
It should look like this
Overwrite the default magnolia asset tree workbench. Add following code to the new created yaml file.
contentViews: - name: tree columns: name: title: type: itemUsage: &itemUsage $type: itemIdUsageColumn descriptionGenerator: ch.esense.itemusage.ItemUsageDescriptionGenerator width: 100 jcrPublishingStatus: mgnl:lastModified: - name: list columns: name: title: type: itemUsage: *itemUsage jcrPublishingStatus: mgnl:lastModified: path: |
itemUsage: &itemUsage $type: itemIdUsageColumn descriptionGenerator: ch.esense.itemusage.ItemUsageDescriptionGenerator |
YAML code-snippet for the item usage workbench column