SuiteApp Version: eXtendMobile 1.12 and above
Mobile App Version: eXtendMobile 1.12 and above
Audience: eXtendMobile Admin

Use Case

  • Setting geolocation coordinates in record fields.
  • Saving longitude and latitude of the current location in record fields.

Summary

eXtendMobile enables you to set geolocation coordinates on record fields. This value can be set under text fields. In this article, we will learn about the configuration required for setting geolocation coordinates.

Configuration

To set the geolocation in a record field, go to the function where you want to set it, open it in edit mode, and follow the steps below: 
  1. Go to the form configuration page.
  2. Open the field in which you want to set the coordinate.
  3. Tap Default Value.
    Image Placeholder
  4. You will have the option to set either longitude or latitude. Select one based on your requirement.
    Image Placeholder
    Image Placeholder
  5. If you are using an edit function, you can enable the Force Default option to set the coordinates even when there is a pre-existing value under the configured field.
  6. Save your function.
Upon execution of the function, the configured field will show the longitude or latitude value as per its configuration.
Image Placeholder

When executing the function, make sure your location service is enabled and that permission has been granted to eXtendMobile to access your location.
Image Placeholder

“Allow While Using App” should be sufficient permission for usage in the eXtendMobile App. This feature works on both Mobile and Web.