Skip to main content
Feedback

Using geolocation in the default legacy player

warning

The content on this page is outdated and will not receive updates. For the most up-to-date feature, refer to Setting up and managing flows.

Geolocation can be used in your flows, allowing access to user device geolocation data feature. Please note this customization is only available in the default legacy player.

Overview

Boomi Flow allows you to work with geolocation data using a number of system values. Refer to Location values.

The following user geolocation data can be accessed:

  • Current Latitude
  • Current Longitude
  • Location Accuracy
  • Current Altitude
  • Altitude Accuracy
  • Current Heading
  • Current Speed
  • Location Timestamp

Geolocation must be enabled as a setting in a player in order for it to be included in your flows.

Access to the geolocation values and feature is device-dependent; for example, if a mobile phone running the Flow does not have a GPS or an altimeter built in, some of the geolocation values will not be available.

Enabling geolocation in a player

  1. Edit a custom player that requires geolocation feature. Refer to Editing a player.

  2. Enter the following setting into the 'var options' settings in the player HTML:

    location: {isTrackingEnabled:true},

    Enabling geolocation in a player

  3. Save the player.

  4. Now that geolocation is enabled in the player, you can use geolocation values in your flows as normal. For example, you could enter the $User/Current Latitude and $User/Current Longitude values into a step step. For a list of available geolocation values, refer to Location values.

On this Page