Designing a Custom Application Event
When you create a custom application event, you must also define what fires the application event. In the current Windows client system, there are ways to generate a custom event:
- Create an event trigger by using the Event Trigger form. This step is the easiest and most common way to generate a custom application event.
- Use Generate Event action type in another event handler.
- Use a form or Windows client event handler with Generate Application
Event response type.Note: Do not confuse the form or Windows client event handlers with the application event system handlers.
- Use the Windows client API to write a custom script that generates an application event.
- Invoke an IDO Extension Class method that calls the FireApplicationEvent() method.
- Use the Mongoose Representational State Transfer (REST) service, IDORequestService/MGRestService.svc.
- Use a SQL stored procedure or trigger to call the PostEventSp stored procedure.
These steps represent a typical process for creating custom application events: