Salesforce

Event Type (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Event Type (Magic xpa 4.x)

In the Event level, zoom from the Event column or press F5 to open the Event dialog box.

The Event types that can be selected from the Event dialog box are described below.

System

These are events that are triggered by defined keystroke combinations. Zoom from the Event field to open the Key Definition dialog box, where you can define your keystroke combination.

See also How Do I Map Keyboard Strokes to Magic xpa Internal Events?

Internal

A Magic xpa internal event from the Magic xpa Event list. This events are usually handled by Magic xpa, but you can define a new or additional handler for them. Zoom from the Event field to open the Event List.

User

Events defined in the Event repository by the developer. Zoom from the Event field to open the Event List.

Timer

Events which are time-based, so that for every time interval, the event is invoked.

See also How Do I Execute a Set of Operations After a Time Interval?

Expression

Events that are triggered when an expression evaluates to True. Zoom from the Event field to open the Expression Editor.

See also How Do I Execute a Set of Operations When a Condition Is Met?

Error

Events that are invoked when database-related error occurs. Zoom from the Event field to open the Error List, which includes the following errors:

  • Any

  • Locked row

  • Duplicate index

  • Constraint failure

  • Trigger failure

  • Record has been updated

  • Record changed by another user

  • Insert/Update/Delete failure

  • Unmapped errors

If you do not specify an error type, the value Any is assigned to the property. The error type, Any, can be executed for any error type that occurs.

Note: It is not possible to define error handlers for local data source errors.

See also How Do I Handle a Database Error or Exception?

ActiveX

An ActiveX event raised for COM objects. The ActiveX type is not available for Rich Client tasks. If the event has built-in variables, they are created in the handler.

The ActiveX event is no longer supported.

.NET

Zoom from the Event field to open the .NET Event dialog box, where you can select a .NET variable and event. If the event has built-in variables, they are created as parameters in the handler with the relevant .NET type. You can also define an event handler without defining a variable. In such a case, you can write the object from which you want to select the event.

The .NET event handler’s behavior for Rich Client and Online is different:

  • In Rich Client, for non-control .NET objects – Since several tasks are running simultaneously, the behavior is non-standard and .NET events are raised in all the tasks, regardless of the propagation.

  • In Online – Since there is always one task tree, the behavior of non-control .NET objects is the same for .NET controls and is the same for any other event in Magic xpa.

See also:

Handling .NET Events

How Do I Handle .NET Object Events?

Reference
Attachment 
Attachment