Design
Default Behaviour(s)
Default assets thumbnail actions from the search page
From the search page, users can roll over each Thumbnail in order to display :
Default assets thumbnail actions from the board page
From the board page, users can roll over each Thumbnail in order to display :
3 action icons :
Detach from board (only for board’s owner)
The name of the asset display (troncated with supensions points if there is not enough space for the entire name)
A select option (in the right corner)
Advanced Configuration
List of available action
damBoard : add asset to a board
damDownload : download the asset
damPreview : open preview pop-in
boardDetachAsset : remove asset from board
Configuring Actions
An action's definition is placed under $common.namedActions
, you can modify its display by modifying some of its attributes. In the most common cases you’ll want to modify i18n
value to change the value of the tooltip, the icon
value to change the displayed icon, the onlyIfAllFeaturesActive
value (which is an array) to condition the display of the action to the availability of some features or the onlyForRootNatures
to display the action depending on the nature of the asset.
For more in depth configuration for a given action, please refer to the documentation page of this specific action.
Modifying the actions list
Actions are placed under $dam.explore.items.actions
as an array of actions. Removing or adding a value will remove or add an action.
Actions can have two different formats :
// simple form actions : [...] // advance form actions: { maxDisplayedActions: Int, actions: [...] }
Configuring the number of actions displayed
The default value for $dam.explore.items.actions.maxDisplayedActions
is 3
.