xiao8579 / QuickCapture-Testing

Repo for feedback and issues during QuickCapture testing events.
0 stars 0 forks source link

[Exercise] New variables #63

Open xiao8579 opened 2 years ago

xiao8579 commented 2 years ago

New variables were added in this 1.13 release.

For Point layer Device variable Name Description Type Category
projectName Project name The name of the current project String Device information
installUUID Install UUID A unique ID created on install. Can be used to uniquely identify a device String Device information
fullName Full name The user's full name String User information
firstName First name The user's first name String User information
lastName Last name The user's last name String User information
email Email The user's e-mail address String User information
activityType Activity type User activity type: Unknown (0), Stationary (1), Walking (2), Running (3), Cycling (4), Automotive (5) Integer Travel

Steps

  1. Open a QuickCapture project in web designer.
  2. Click on one of the buttons in the project preview.
  3. On the Data tab, find a text field.
  4. Assign any of the above variables to the field.
  5. (Optional) Assign all of the above string type variables to each text field. You will likely need to create more text fields for the target feature layer in your project.
  6. For the Avticity type variable, assign it to a field of Integer type, and it's for Point layer only.
  7. Save your project.

Mobile app test

  1. Download the project.
  2. Open the project.
  3. Tab on the button to capture a record.
  4. Send the record.
  5. Check the attributes of the feature layer, and verify that the value for the configured field shows the correct variable value.