...
Configuring default display mode for a cursor
<cursor-name>
can be replaced with default-cursor-config
for the default cursor display or all-videos
for the "All videos" cursor.
Config path | Default value | Description |
---|
Translation i18n key:
layout.line | Line layout | tooltip |
Translation i18n key:
layout.column | Column layout | tooltip |
Translation i18n key:
layout.list | List layout | tooltip |
Translation i18n key:
layout.square | Square layout | tooltip |
$.dam.explore.layouts.<cursor-name>.default-resource-config.available.json
| [ { "key": "row", "i18n": "layout.line", "icon": "cw-svg-h-bricks", "aliases": ["line", "rows"] }, { "key": "col", "i18n": "layout.column", "icon": "cw-svg-v-bricks", "aliases": ["cols", "columns", "column"] }, { "key": "list", "i18n": "layout.list", "class": "fas fa-list-ul" }, { "key": "square", "i18n": "layout.square", "class": "fas fa-grip-horizontal" } ] | Configures “All assets” cursor Each object represents an icon that will be displayed in the selection of layouts. |
$.dam.explore.layouts.<cursor-name>.default-resource-config.default.json
| "square" | Configures “All assets” cursor Defines the default layout that will be used. |
$.dam.explore.layouts.<cursor-name>.default-resource-config.hide-layout-selector-label.json
| true | Configures “All assets” cursor By default, hides the label: To show the label, put this value to false : |
$.dam.explore.layouts.<cursor-name>.default-resource-config.hide-layout.json
| false | Configures “All assets” cursor By default, will show the display mode: If this value is set to true , the display will entirely be hidden: |
...
Config path | Default value | Description |
---|
$.dam.explore.layouts.default-cursor-config.default-resource-config.available.json
| { "key": "squareSmall", "i18n": "layout.squareSmall", "class": "fal fa-grip-horizontal" } | Add this code in the config path to display the Small square in the searsh result page |
$.board.explore.layout.available.json | { "key": "table", "i18n": "layout.table", "class": "fal fa-table" } | Add this code in the config path to display the Table layout when looking at assets in a board |
$.common.named-displays.asset-table-row.preview.json | { "colWeight": 8, "headerClass": "cw-table-cell-media", "i18n": "asset.media.preview", "namedVariation": "tiny" } | Add this code in the config path to display the Table layout when looking at assets in a board |
$.common.named-displays.asset-table-row.row.json | [ { "colWeight": 15, "field": "name", "hideLongTextTooltip": true, "withoutLabel": true }, { "colWeight": 10, "field": "dteendrights", "hideLongTextTooltip": true, "withoutLabel": true }, { "colWeight": 5, "field": "clipped", "hideLongTextTooltip": true, "withoutLabel": true }, { "badge": true, "colWeight": 15, "field": "keywords", "hideLongTextTooltip": true, "withoutLabel": true }, { "colWeight": 20, "field": "description", "hideLongTextTooltip": true, "withoutLabel": true }, { "colWeight": 7, "field": "width", "hideLongTextTooltip": true, "withoutLabel": true }, { "colWeight": 7, "field": "height", "hideLongTextTooltip": true, "withoutLabel": true } ] | Add this code in the config path to display the Table layout when looking at assets in a board |
...