Sending Multiple Messages

You may send multiple messages in one URI request. For example, the following request sends two messages to ArcFM Mobile in a single URI:

//Opens ArcFM Mobile, sets the World Street Map basemap, and selects the Schneiderville Electric operational map
arcfmmobile:?basemap=a%20World%20Street%20Map&operationalmap=Schneiderville%20Electric


Here’s an example of several messages being sent in one URI:

//Opens ArcFM Mobile at this lat/long, at this zoom scale, changes the basemap to World Imagery, and changes the operational map to Schneiderville Electric
arcfmmobile:?lat=29.678&long=-82.373&scale=1500&basemap=World%20Imagery&operationalmap=Schneiderville%20Electric

The query aspect of the URI must be key=value, so lat=29.659 and long=82.354 are examples of proper query syntax. If you launch URI requests inside a batch file or using a command line, the ampersands must be escaped with a caret (^), as shown here:

//Opens ArcFM Mobile at this lat/long, at this zoom scale, changes the basemap to World Imagery, and changes the operational map to Schneiderville Electric
arcfmmobile:?lat=29.678^&long=-82.373^&scale=1500^&basemap=World+Imagery^&operationalmap=Schneiderville+Electric
TIP: Depending upon the technology stack you use, you may need to remove the caret entirely. For example, the caret (^) symbol is not used in C# for Windows. The caret is specific to command-line arguments.


Here are a few items to keep in mind for constructing commands:

  • Each space character must be replaced by the plus (+) symbol.

  • Location coordinates must be in the format 123.456 with a period and never a comma.

  • A question mark (?) is required after the first colon (:) to mark where the parameters start.

  • Parameters can be specified in any order.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?