Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The available actions are shortcuts you want to display must be described in the actionAvailabled.json file located in the menu directory. It is an Array<Action> with the following description settings :

Config Path

Default value

Description

$.menu.actionAvailabled

Code Block
languagejson
[
  {
    "id": "menu-action-search",
    "key": "sidebar.search.title",
    "display": true,
    "icon": "fal fa-search",
    "to": {
      "name": "dam-explore",
      "params": {
      }
    },
    "descriptionKey": "sidebar.search.description"
  },
  {
    "id": "menu-action-upload",
    "key": "nav.upload",
    "display": true,
    "icon": "fal fa-cloud-upload",
    "to": {
      "name": "import-jobs",
      "params": {

      }
    },
    "descriptionKey": "sidebar.upload.description",
    "onlyForUserGroups": [
      4, 27
    ],
    "onlyIfAllFeaturesActive": ["upload"]
  }
]

Shortcut to asset search

Shortcut to asset import

...