In this step, create an event for the customerOrder application. The event links the cust_id field in employeeSales to the customerOrder application. The employeeSales application is the master application, and the customerOrder application is the linked, or child, application.
Creating an event for employee sales
In Mobile Web Studio, select Applications in the left pane, and Approved in the Application Builder Status menu.
From Application Builder, right-click employeeSales in the detail pane, and select Define Events.
On the Define Click-Across Events window, click Select next to the grid format, and click Next. The Preview window displays.
In Preview, link cust_id in column 4 to the customerOrder application. Under Assign An Event:
Row – enter 2-
(a
2 followed by a dash, no space) to indicate every record from 2
to the last record, excluding the header). Alternatively, you can
enter all
, to place the event
on the header as well as the records.
Column – enter 4
to
indicate column 4 (cust_id).
Event Name – enter cust_id
as
the event name.
Multi-value – unselect this option.
Client-side – unselect this option to indicate this is a server-side click-across event.
Click Find Application. In the Search window, click Search and select the customerOrder application, then click Add. The window closes and customerOrder displays in the Application Name field.
In Assign An Event, click Add. Column 4 is now selected and a new rule is added under Current Assigned Events.
Click Next. The Preview window displays.
Click Finish.