Versions Compared

Key

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

...

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

Here is an overview:

Config path

Default value

Description

Translation i18n key:
topsearch.input-placeholder

I'm looking for

Cursors

By default, there are 2 cursors already configured : “All assets” and “All videos“. It also possible to add personalized cursors.

...

Here is it’s overview of the default cursors:

Config path

Default value

Description

Translation i18n key:

global.schemaNames.allAssets.cursor

All assets

Translation i18n key:

global.schemaNames.allVideos.cursor

All videos

$.common.cursors.all-assets.json

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": {}
}

Describes how the cursor “All assets” will work: as the staticQuery is empty, all assets will be accepted.

$.common.cursors.all-videos.json

Code Block
{
  "path": "dam/asset",
  "max": 60,
  "staticQuery": {
    "assetnature": {
      "dof": {
        "code":"video"
      }
    }
  },
  "orderby": "created desc",
  "limit": 200,
  "haveAssetNature": true
}

Describes how the cursor “All videos” will filter the assets: will display all assets where the code property of assetnature is a video (in other words, will display all videos).

$.dam.default-cursor-name.json

"allAssets"

Defines the default cursor, the one that is shown when going to the dam explorer page.

Adding a new cursor

When adding a new cursor, there are a few steps to take.

...

Here is an overview of what a separator would look like:

Image Modified

Image Modified

without separators

with separators

Disabling cursors

We can disable the visiblity of the cursors in the dam explorer page by setting to false the $.dam.behaviors.display-contexts-filter.json.

Deactivating

...

boards

...

The display of the upload icon depends on several parameters :

  • an upload feature,

  • if the user has a role that is allowed to upload,

  • and the user has to be connected;

Here is an overview of those parameters :

...

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, there 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, you have to add the group ID into $.dam-import.upload.roles.

Example of role configuration file:

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

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.

Here’s it’s overview:

Config path

Default value

Description

Translation i18n key:
nav.boards

My boards

This translation key is used when the user is connected

Translation i18n key:

nav.boards_not_connected

Boards

This translation key is used when the user is not connected

$.features.boards

true

To hide the boards icon, set the setting $.features.boards to false