Adding actions to the files detail area
To add an action to the files app detail area the extensionpoint io.ox/files/links/inline is used.
Use the Link pattern in io.ox/core/extPatterns/links.js to extend this point.
Try via console:
Action
The first argument is the unique id of the action.
requires - checks for the needed components and the collection status. (some is used for multiple elements, one for an single one)
If the action is used only on a single element use action.
If the action should be applied to multiple elements use multiple.
In both cases the baton is available to the action.
Link
id - must be unique
index - the position/order of the link
label - the label for the link
ref - the reference to the action id