Custom actions
The Custom actions feature helps to add custom actions options in the Kcenter user interface
Feature available from OpenKM version 7.1.38
Sample at Custom actions in KCenter
Users are shown in a table structure.
Filtering options |
|||||||||||||
Id |
Name |
Label |
Icon |
Description |
Document |
Folder |
Record |
|
URL |
View |
Width |
Height |
Show close |
User parameters:
Field | Description | Required |
---|---|---|
Id | The internal Id of the custom action. |
Set by the application |
Name |
The name of the custom action. |
true |
Label |
The label of the custom action. When you wish to internationalize the label can use a language key value |
true |
Icon |
The MDI icon value |
true |
URL |
URL to be requested by the custom action | *** |
Description |
Description of the custom action. | false |
View |
Allowed options:
|
true |
Width |
A number or % is allowed. Samples:
|
* |
Height |
A number or % is allowed. Samples:
|
* |
Apply to document |
When enabled the custom action will be available for documents. |
true |
Apply to folder |
When enabled the custom action will be available for documents. |
true |
Apply to record |
When enabled the custom action will be available for records. |
true |
Apply to mail |
When enabled the custom action will be available for mail. |
true |
Show close button |
When enabled it is shown a close button |
** |
Script |
The javascript code that will be executed by the UI // Jump to folder with uuid const uuid = '748923a3-f130-48d1-b09e-88b6af8c44cd'; const kcenterApp = window.kcenterApp; // access to the main kcenter object kcenterApp.$store.dispatch('browser/refreshByUuid', uuid, { root: true }); |
**** |
Action |
Available actions:
|
|
* Mandatory when Popup-wizard is selected. ** Option is shown when Popup-wizard is selected. *** Mandatory when Popup-wizard or Full-screen are selected **** Mandatory when Run-javascript is selected. |