Custom actions
The Custom actions feature helps add custom action options in the KCenter user interface.
Sample: Custom actions in KCenter
Users are shown in a table.
|
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, you 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, a close button is shown. |
** |
|
Script |
The JavaScript code that will be executed by the UI. |
**** |
|
Action |
Available actions:
|
|
|
* Mandatory when Popup-wizard is selected. ** Option is shown when Popup-wizard is selected. *** Mandatory when Popup-wizard or Full-screen is selected. **** Mandatory when Run-javascript is selected. |
||