Salesforce

How Do I Send Information With a Raised Event? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Send Information With a Raised Event? (Magic xpa 4.x)

Create the event with parameters

  1. Create your event as usual.

  2. Go to the Parameters column. Zoom and the Event Parameters window will appear.

  3. Enter the parameters you would like the event to accept.

Accept the parameters in your Event handler

  1. Go to the location where you want to raise the event.

  2. Type R to create a Raise Event operation. The Event box will appear.

  3. Go to the Event Type field. Select User.

  4. Go to the Event field. Zoom to select the event. Since the event we just created has parameters, you will get a Confirmation box: “Create Parameter variables to match parameters to the event?”. If you click Yes, then the parameters will be automatically created for you.

Call the event

Now, when you raise the event, you can pass a parameter list, just as you would if you called a program.

See also

The Online and Rich Client Samples projects (program EH11 and REH11)

Reference
Attachment 
Attachment