Salesforce

Raise At (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Raise At (Magic xpa 4.x)

Lets you determine where the event will be raised. The optional values are:

  • Container task (default) – Triggers an event for the task that has the Push Button control assigned.

  • Task in focus – Triggers an event for the task in focus (even if the push button was defined in another task).

    Note: When the button is parkable, the task in focus will become the container task; so in this case, the property is meaningless.

    When the button is not parkable and the Raise at property is set to Task in Focus, then when clicking on the button, the container task will not be loaded. This means that:

    a. Arguments defined will not be passed to the event.

    b. Event handlers defined in the task will not be handled.

The advantage of this property is that you can use one button to trigger the same event from various tasks.

Example: You have a push button defined to trigger the Delete event for the parent task. If Container Task is selected, the Delete event assigned to the push button will clear data from the selected controls assigned to the parent task, but will not clear data from the selected controls assigned to the subtask. If Task in Focus is selected, the push button will clear data from the select controls of either the parent task or subtask.

Related Topics

How Do I Set Up One Push Button to Affect Either the Subform or Its Parent Task?

Reference
Attachment 
Attachment