Extensions >
Actions Events settings.
Action Events can be grouped into two general categories: Local and Global events.
This article explains how to create Local and Global Action Events, describes the ways in which Action Events can interact with the Exago application, and lays out examples for common usage.
Extensions >
Action Events in the Main Menu and either:
icon at the top of the main menu
Add from the context menu
icon at the top of the main menu
Edit from the context menu
icon at the top of the main menu
Delete from the context menuThey can also be added or modified on a per-session basis via the .NET API using the Api.SetupData.ActionEvents server call. This section details how to create Action Events through the Web Application but contains important details about programming them which will apply to the .NET API as well.
Each Action Event has the following properties:
A unique identifier for each Action Event.
Can either be custom code or a .NET Assembly method.
To save code directly in Exago, select Custom Code from the first Function dropdown. Clicking on the second dropdown opens the Custom Code dialog. See the Writing Action Events section below for information on how to access the arguments for each Event.

Custom Code has four additional properties:
bin folder of the Exago Web Application, as well as any Scheduler bin folders, and the Web Service API, if applicable. Note
System.dlldoes not need to be listed as a reference as it is already available.
icon to test the code for errors.There are two ways to reference a .NET Assembly method.
return Extensions.Events.CensorEmployeeBirthYear(sessionInfo, args);
Note
The Assembly’s DLL will be locked by Exago when it is first accessed. To replace the DLL, unlock it by restarting the IIS App pool.
Note
If you want to utilize the sessionInfo object that is passed to all Action Events the Assembly must include a reference to
WebReportsApi.dll. For more information see the article on SessionInfo.
Note
All methods used as Action Events must be static.
Select an option in this dropdown to create an local event that will be executed when certain client-side actions are taken.
Select an option in this dropdown to create an event that will be triggered when a condition is met in the Exago application. The Global Events article contains descriptions of all of the available event handlers.
Note
Selecting a Global Event Type will cause Exago to ignore any selected Local Event Type.
This field designates a semicolon-separated list of UI item IDs for items in the Exago interface. These elements can be intercepted and modified by entering them in this field.
Important
This selection field only applies when the Event Type is Click. This field will be ignored when any other options are selected.
When an Action Event is fired, two primary parameter objects are passed: sessionInfo and clientInfo. These are the main points of interaction with the Exago application.
WebReportsApi.dll must be included.arguments array – The server-side portion of action events can also access an array of input values called args. These parameters are passed manually from client code to server code using the function clientInfo.ServerCallback(eventName, args...).