Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can also collect information associated with your location. For example, a section of a Police Incident Report, shown in the image, captures the location where the form was filled in plus the address information associated with it. The last position update will be in the submission metadata of your form or flow but it is NOT automatically added to the XML Document.  You must create controls (perhaps hidden) and rules to add the location information to the form XML document.  This form has controls and  and rules to show longitude, latitude, accuracy and/or errors plus the address information.

...

You will never see coordinates and error codes in the same form. You get one or the other.

The option to turn Click on the Geo location feature is located in the Properties panel in the Form Designer Toolbar in the Forms Designer to display the Form Properties panel. Select one of three options from the Geo Location dropdown to turn the feature on:

  • None - (no location) - this is the default
  • On Load - at start time
  • Custom - allows the designer to specify a periodic refresh. The default value is 30 seconds. Choosing this method will fire a rule in the specified time. For example, if the field to the right of the Geo Location Dropdown was set to 10, the rule would fire every 10 seconds. See below for more details.

 

You can also turn on/off/modify the feature by clicking on a form activity in a flow which will display the form Properties panel. The Loc Timeout is a value that must pass before the Timeout error codes/messages will appear on your form. You can capture information based on the location via a Business Rule such as position address or other information as shown in the Position Address image above and you can embed a Google map in your form. To activate this part of the Geo Location feature, you must have a connection to google.com and you must check the Detailed Loc. checkbox on the Properties Panel. The map will only display in use mode. 

...