Documents - List Selected Actions

The documents-list-selected-actions key defines actions that are available for selected items within the documents browsing page. These actions appear under the Selected... dropdown and apply to items that are selected (using checkboxes or radio buttons) on the page.

The base configuration looks like this:

{
    "config": {
        "documents-list-selected-actions": []
    }
}

Default Configuration

The base configuration looks like this:

{
    "config": {
        "documents-list-selected-actions": []
    }
}

## Example - Add an Action to the Actions dropdown

Here we register a new button under the `new` button (which is the Actions dropdown from above):

{ "config": { "documents-list-selected-actions": [{ "key": "new", "buttons": [{ "key": "do-something-awesome", "title": "Do Something Awesome", "module": "mymodule/actions/do-something-awesome", "iconClass": "glyphicon glyphicon-something-awesome",
"allowPermission": [ "update" ] }] }] } }