This example shows you how to call an external application from within the Swift MEAP™ application.
The example below in the next section calls a Web page hosted locally, shows the data in an HTML table, and upon submit redirects to the Swift MEAP™ application showing the original record that was open before the outbound call. The overall steps in this example, which are the typical steps for calling external applications from within the Swift MEAP™ application, are:
...
- The Contacts module is available.
- A Web container (for example, nodejs) is available, which can listen for HTTP requests.
Preserving the DeviceRowID
...
- Start the Admin application.
- Click Map Settings, and then select Module Settings on the vertical application bar.
- Click More next to the Contact module, click JavaScript, and then select Add JavaScript Code.
- Select onSave from the Type drop-down list, and then enter the onSave JavaScript code.
...
- .
...
...