Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Design

...

Default Behaviours

...

Header (Homepage)

Header is composed of :

  • A wedia logo : redirects to the homepage of the application

  • An upload icon : redirects to the mass upload page

    • Only visible for Administrators and contributors

  • A Notification icon : opens the notification popin

  • Board icon : redirects to “my boards” page

  • Menu icon : opens the main menu

...

Header (Search Pages)

Header is composed of :

  • A wedia logo : redirects to the homepage of the DAM

  • An upload icon : redirects to the mass upload page

    • Only visible for Administrators and contributors

  • Drop-Down menu with the following options :

  • Search icon + Search bar with auto-complete + number of results corresponding to the total number of asset

  • A notification icon : opens the notification popin

  • Board icon : redirects to “my boards” page

  • Menu icon : opens the menu

...

...

Header (other pages)

Header is composed of :

  • A wedia logo : redirects to the homepage of the application

  • An upload icon : redirects to the mass upload page

    • Only visible for Administrators and contributors

  • A notification icon : opens the notification popin

  • Board icon : redirects to “my boards” page

  • Menu icon : opens the

...

  • menu 

Advanced Configuration

Customize your logos

Go to administration interface DAM Branding

Expected sizes and formats are described on this page : UI configuration checklist

...

Add cursors or queries

Queries

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

...

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.

Default 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.

...

In our example, the translation key would be: global.schemaNames.allProducts.cursor.

Separators

It is also possible to add separators to space out cursors. To do so, add null between each object of a cursor in the $.dam.contexts.json, like so:

...

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.

...