Salesforce

Task Editor Behavior (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Task Editor Behavior (Magic xpa 2.x)

The Task Editor behavior is described below.

Switching Between Editors

You can press Ctrl+Tab to move from tab to tab in Task Editor. Entering information in any of the three tabs for the first time automatically opens the Task Properties dialog box. When a task container editor is opened for the first time, it is empty, with the exception of forms.

When switching from one tab to another, the engine will regard the current field as being completed. If invalid data was entered, Magic xpa will not switch to another tab until valid data is entered.

Press the Ctrl+1 keys, or click the Data View tab to switch to the Data View Editor.

Press the Ctrl+2 keys, or click the Logic tab to switch to the Logic Editor.

Press the Ctrl+3 keys, or click the Forms tab to switch to the Form Editor.

Creating and Accessing a Handler from the Task Editor

You can create and access a handler directly from the Task Editor by right-clicking and selecting the Logic option from the context menu. The Logic context menu includes the following:

  • Existing handlers for the control - Shows all of the event handlers (defined in the current task) that exist for that control.
    For Push Button controls with an event defined in the Raise Event property, if there is a general handler (not control-specific) for this event, it will also be shown in this group.

  • Existing handlers for the variable - Shows all of the event handlers (defined in the current task) that exist for that variable (currently only for Variable Change).
    If parked on a control, then the variable will be the one which is attached to that control.

  • Existing handlers for a Raise Event operation - Shows all of the event handlers (defined in the current task) that exist for that event.

  • Push button raise event - Shows the event defined in the Raise Event property of the push button.

  • Preferred handlers - Shows all the events defined in the Preferred Event repository.

  • Create New Handler - Creates a handler for that control/variable.
    If performed when not parking on a control/variable, a new header line will be created as the last entry in the Logic tab.

Saving Changes

Changes to the Data View, Logic, or Form Editors are regarded as changes to the entire task, not just its sub-modules as represented by the task editors. When switching from one tab to another, Magic xpa does not prompt you to save your changes. Modifications in each editor is saved or canceled as a whole task container.

Keeping the Last Location

When you move from one editor to another, Magic xpa returns to the last location – the line, field, and state of an expanded or collapsed header.

For example, in the Logic Editor, you can expand several logic units and park on a specific line, in a specific field. When moving to another editor and the returning to the Logic Editor, Magic xpa keeps the same display and the parking state on the line and field that was selected before leaving the editor.

Selecting Multiple Rows in the Editors

  1. Park on the # column of one of the rows.

  2. Press the Shift button and click on another row to mark consecutive rows. Another way to do this is to press the Shift button and the arrow keys.

  3. Press the Ctrl button and click on another row to mark non-consecutive rows.

Reference
Attachment 
Attachment