Versions Compared

Key

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

...

There are no conditions for the query full text search bar to display in the dam page. It will always show.

...

On the home page however, the query full text search bar is not visible.

Here is an overview:

...

We have to fill in the file with the basic information and the a specific query:

Code Block
languagejson
{
    "path": "dam/asset",
    "max": 60,
    "orderby": "created desc",
    "limit": 20,
    "withRights": true,
    "maxchildren": 6,
    "sortByRelevanceIfFulltext": true,
    "i18nQuery": true,
    "cacheDuration": "20000",
    "haveAssetNature": true,
    "staticQuery": {
      "and": [
        {"width":{"eq":3450}},
        {"height":{"eq":5175}}
      ]
    }
  }
  

...

Config path

Default value

Description

Translation i18n key:
nav.upload

Upload assets

$.features.upload

true

To hide the upload icon, set the value to false.

$.dam-import.upload.roles

-

By default, no roles are created and so the upload is availablethere are 4 roles available in a project, but only one has acces to the upload button: the admin.

If roles are created or if you want to give access to the upload to another role group, the app will check that the user belongs in one of those role IDsyou have to add the group ID into $.dam-import.upload.roles.

Example of role configuration file:

Code Block
{
  "asset": [4, 27, 28],
  "pimasset": [4, 27, 28]
}

Here, the group ID 4 (developer) and the group ID 27 (admin) will be able to upload.

The board icon depends on only one parameter: a board feature.

...