Events let you to trigger an event as custom way for example by a custom button placed in the Menu Bar or as Context Menu.

1. Create a custom button under UserManager, UserName (default for all users), in the QuickJump select Webinterface, scroll down a little and at the Buttons section click on 'Add':

[attachments|customButton2.png]

Add the following javascript function for this button:

[attachments|customButtonFunction.png]\\
{{{
javascript:customEvent({paths:"{files}"});
}}}

If you want more custom events mapped to button you can add more button with different variables on the javascript function and in the task/job you can branch off to do different actions:

a. crate a button to action1 and an other one for action2 :

{{{
javascript:customEvent({my_action_decision: 'do_action_1', paths:"{files}"});
}}}

{{{
javascript:customEvent({my_action_decision: 'do_action_2', paths:"{files}"});
}}}

b. In the task/job branch off by using a jump task to verify which button was hit:



2. Create the custom event. Under UserManager, UserName (default for all users), in the QuickJump select Webinterface, scroll down a little and at the Buttons section click on 'Add Event'. As User action check the 'custom' and check the 'Do event immediately' flag, set a task/job/plugin. That will be executed when the custom button is hit.

[attachments|customEvent2.png]