Sending Messages
Here’s an example of how to send one message to the ArcFM Mobile app via a URI:
//Opens ArcFM Mobile and sets the World Imagery basemap
arcfmmobile:?basemap=World%20Imagery
The arcfmmobile
prefix is typically
followed by a colon (:) and a question mark (?) to delineate the query
parameter list. The question mark is followed by a series of key-value
pairs. Each pair is in the form key=value
, and those
pairs are separated by an ampersand (&). Additionally, certain
characters are replaced with special codes. For example, a blank space
is %20
. The value (World%20Imagery
in the example above) is not surrounded by quotes, and it must
be URI encoded. For more information regarding encoding, refer to
this URL encoding article.
If you run commands using a link, the URI must be percent-encoded. A handy way of encoding your URIs is utilizing a free encoder, such as https://www.urlencoder.io/. So, based on the technology stack you are using, ensure that you are aware of precisely how to construct and launch a URI.