Salesforce

Control Level (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Control Level (Magic xpa 4.x)

The Control level lets you control the behavior of a specific control type at runtime for online , rich client, and Browser tasks. For example, you can set and display values, check input, and implement other operations. You can define a Control Level handler in the Logic Editor.

The Control level has the following properties:

Property

Description

Level

Prefix – The operations that the engine must execute before the insertion point is moved to a particular control. A control handler can only come after a record handler.

Suffix – The operations that the engine executes when exiting from the control.

The Control Suffix is performed whenever the insertion point is taken away from the control (loses focus). This may occur when the end user moves to a different control or exits the record or the task.

The Control Suffix can be implicitly executed when an event, that is defined to exit a control level, is raised and handled. These internal events, like View Refresh or a user-defined event, are set to exit the control or record level.

The following sequence occurs when an event exits the Control Loop:

  1. Terminate Control Editing

  2. Set the runtime value of variable

  3. Re-compute according to the value of the new variable

  4. Exit the Control Suffix

Verification – Control Verification is used mostly for control validation.

· Behavior in Online and Client/Server RIA tasks: Verification is performed whenever the insertion point is removed from the control and whenever the engine processes the control in Fast mode, before the Control Suffix logic unit.

· Behavior in Web Client tasks: Magic xpa executes all Control Verification handlers in the current task just before executing Record Suffix. Control Verification handlers are executed in the order of their definition in the task.

See also How Do I Properly Validate the Data Entered by the End User?

Control Name

Zoom to the Control Name list to select or enter the control name. Only data-defined controls are displayed.

Condition

Yes means that the control handler is enabled. No means that the control handler is disabled. You can also define an expression that determines when the control handler is enabled.

Reference
Attachment 
Attachment