Data Validation

The data entry window supports data validation. Validation rules must be set in a project prior to import. Please refer to Discover for ArcGIS Pro user guide, in the Discover Mobile section of the user guide for more information on how to create a mobile project.

Note: It is important to be familiar with the field types in your tables before creating a project. The types of fields will determine how data is entered and validated.

Table Validation

Before taking data into the field the table needs to be configured to have suitable columns to collect data. The columns need to be assigned a Table Validation so the data from the device knows where to be stored.

Tables can have validations attached to them either in the source tables (which is carried through to the mobile clipped tables in the Geopackage) or they can be set up in the clipped tables after the data has been included in the mobile project.

Below is the list of validations and their functions

Validation Description
Name Field name
Type Data Type of the Field
Parameter Validation parameters for automatic data insertion.
Visible Choose to show or hide a field, by default, fields are visible. Fields that have validation options applied cannot be hidden, as it may conflict with the validation rules.
Lookup Table Define a look-up table to associate with a field from a legend created in the Legend Editor. Look-up tables can be used as simple drop-down lists or as enforced validation lists to select predefined values.
Exclusive When exclusive is enabled only values from the defined lookup list is used for data entry. When exclusive is disabled values from the defined lookup list and user entered values can be used. The exclusive option is only used when a lookup table is also defined for that field. Having exclusive enabled is the default.
Optional When optional is enabled the field doesn't required data to be entered, it can be left blank. When disabled the data entry for that field is no longer optional and data must be entered (mandatory). By default optional is enabled.
Default value Define a default value for a field when creating a new record. For a character field type a default value. For a numeric field type a default value. For a date or time field, pick the default date/time. When a lookup table has been defined for the field, select a default value from a drop-down list.
Group Enter a value used to classify a field into a tabbed group in Discover mobile.
Map Style A map style can only be selected if a lookup table has been defined for a field. Only one map style can be defined for a table. If a map style is defined for a field, when a map object is digitised and an entry has been selected from a lookup list, the corresponding object style is applied from the lookup table picklist. On the data entry tools a field which has a map style applied has a bold name.
Increment Define an increment value for a numerical field or a character field. If a character field contains both alpha and numerical values the numerical values are incremented.
Min Numeric Define a minimum numerical value cap. Numbers below this value cannot be entered.
Max Numeric Define a maximum numerical value cap. Numbers above this value cannot be entered.
Min Date Define a minimum date value cap. Dates below this value cannot be entered.
Max Date Define a maximum date value cap. Dates above this value cannot be entered.
Min Date Time Define a minimum date/time value cap. Dates or times below this value cannot be entered.
Max Date Time Define a maximum date/time value cap. Dates or times above this value cannot be entered.
Min Time Define a minimum time value cap. Times below this value cannot be entered.
Max Time Define a maximum time value cap. Times above this value cannot be entered.

Note: Validations are greyed out if they are not applicable to a column type. For example, a lookup table is only active if the field is a text field

The following variables can be set for data collection via the mobile app:

Parameter Field Type Description

MapX

Double/Float Inserts centroid X/Easting/Longitude coordinate value, coordinate projection defined by table/layer.

MapY

Double/Float Inserts centroid Y/Northing/Latitude coordinate value, coordinate projection defined by table/layer.

RepeatValue

All Repeats previous record field value into the new record.

CurrentDate

Date Inserts the current date into the field.

CurrentTime

Time Inserts the current time into the field.

CurrentDateTime

DateTime Inserts the current date and time into the field.

Dip

Double/Float Define dip field used when capturing structural data. The dip value is automatically entered.

DipDirection

Double/Float Define dip direction field used when capturing structural data. Use this parameter if capturing Dip/Direction structural data. Dipdirection value is automatically entered.

DiscoverCode

Double/Float Define discover code field used when capturing structural data. This parameter is required to define unique structure codes. Discover code value is automatically entered.

Strike

Double/Float Define strike field used when capturing structural data. Use this parameter if capturing Right Hand Rule structural data. Bearing/Strike value is automatically entered.

GPS_X

Double/Float Inserts GPS location coordinate (Longitude) from a GPS receiver.

GPS_Y

Double/Float Inserts GPS location coordinate (Latitude) from a GPS receiver.

GPS_Z

Double/Float Inserts GPS height/RL value (metres) from a GPS receiver.

GPS_DateTime

DateTime/Text Inserts GPS current date and time value recorded from a GPS receiver.

Photo

Text (255) Define a field to be used to capture an image when using the data entry tools or Discover Mobile. This field stores the path to the image and must be 255 characters long. Multiple photo fields can be defined.

PhotoID_Field

Numeric/Character Define a field to be used to rename a photo when captured in Discover Mobile. Generally, this field contains unique values or be a primary key field.

Outcrop_Photo

Text (255) Define a field to be used to capture an outcrop image when using the data entry tools or Discover Mobile. This field stores the path to the image and must be 255 characters long. Multiple photo fields can be defined.

Audio

Text (255) Define a field to be used to capture an audio clip when using the data entry tools or Discover Mobile. This field stores the path to the audio file and must be 255 characters long. Multiple audio fields can be defined.

GPS Fix

Text (255) GPS Fixl Accuracy of GPS either None, 2D or 3D.

GPS_VDOP

Double/Float Vertical Accuracy of GPS point recorded.

GPS_HDOP

Double/Float Horizontal Accuracy of GPS point recorded.

GPS_PDOP

Double/Float Position Accuracy of GPS point recorded.

GPS_Speed

Double/Float Inserts GPS current speed value recorded from a GPS receiver.

GPS_Bearing

Double/Float Inserts GPS bearing recorded from a GPS receiver.

Projected_X

Double/Float Inserts projected location coordinate (X) from a GPS receiver.

Project_Y

Double/Float Inserts projected location coordinate (Y) from a GPS receiver.