Dev Int 241
Dev Int 241
www.hrhpalmsprings.com
7603259676
An Introduction to
Survey123 for ArcGIS
James Tedrick
Brandon Armstrong
Agenda
• Introductions
• Getting Started using the Survey123 website &
mobile app
• Lunch
• Creating advanced forms using XLSForm &
Survey123 Connect
• Setting up field collection workflows
Forms
a printed or typed document with blank
spaces for insertion of required information Many Industries
Forestry
Public Safety
Government
Utilities
Health
Transportation
Emergency Management
Many Needs
Incident Reports
Inspections
Damage Assessments
Asset Inventories
Interviews
Smart Forms for ArcGIS
Easily convert paper forms into Digital Smart ArcGIS Forms
Why Smart Forms in ArcGIS?
• Reduce Errors
• During Data Capture
• Transcribing data from paper to digital
• Boost Field Data Capture productivity
• Precompute responses
• Associate photos with alphanumeric data
• Data: From the field to the office in Real Time
• All data captured is georeferenced
1- Ask Questions
(Design & Publish)
2- Get Answers
(Capture Data)
3- Make Decisions
(View & Analyze)
Demo
1) Author a survey
2) Capture data on the web and
the Survey123 field app
3) Interpret results
1- Ask Questions
(Design & Publish)
2- Get Answers
(Capture Data)
3- Make Decisions
(View & Analyze)
1- Ask Questions (Tools for authoring your surveys)
• Survey123 Connect:
• A downloadable desktop tool. Works in combination with Microsoft Excel.
• Requires learning and familiarity with XLSForms specification
• Complete smart form capabilities
1- Ask Questions (Publishing and Sharing)
• Publishing
• Survey123 Smart Forms are published into ArcGIS
• Forms are a new type of item
• Feature layers (new or existing) store captured data
• ArcGIS Online and ArcGIS Enterprise support
• Sharing
• Survey123 leverages the ArcGIS security model: Named Users and Groups
• You can define distinct security rules to:
• Field Users: Submit data to your survey
• Stakeholders: View the results of your survey
1- Ask Questions (Considerations for survey authors)
2- Get Answers
(Capture Data)
3- Make Decisions
(View & Analyze)
2- Get Answers
• Survey123 WebForms
• Capture data from a web browser. Can be embedded within a web site.
• Nothing to install.
• Online only. Add new data only.
2- Get Answers
(Capture Data)
3- Make Decisions
(View & Analyze)
3- Make Decisions
Web AppBuilder
for ArcGIS
Survey123 for
ArcGIS Operations Dashboard
for ArcGIS
ArcGIS
Story Maps
for ArcGIS
QA/QC
Visualization
Decisions at a Glance
Analysis
Introduction to Web Designer
Creating Surveys
• Survey123 Connect
- XLSForms based
- Uses spreadsheet editor
A
Survey123 Web Designer
• Add questions
- 17 different types supported
- Drag and drop onto survey
- Easily re-order them
• Edit/configure questions
- WYSIWYG user experience
• Set a theme
• Settings
Supported Question Types
A
Survey123 Web Designer
• Add questions
• Edit/configure questions
• Set a theme
- Define the background style for the survey
• Settings
Configuration Tabs
• Add questions
• Edit/configure questions
• Set a theme
• Settings
- Set the message after survey is submitted
- Option to enable submitting another survey
Preview Survey
Sharing Surveys
About Sharing
• Private Surveys
• Public Surveys
• Shared with everyone.
• No need for ArcGIS accounts. Anyone can submit data.
• Ideal for crowd-sourcing and citizen science initiatives.
Roles
• Submit Role
• Sharing for the submit role controls who can submit data to your survey.
• Analyze Role
• Defines who can access the results of your survey.
Sharing Surveys (Submit)
• You can share surveys on the Survey123 website > Collaborate page
• FYI: surveys are stored in a portal (ArcGIS Online/Portal for ArcGIS) in the
Content page
• As you change the sharing of your Survey from the surey123 website, the sharing
properties of these items change.
Exercise
A
Completing the Survey on the Web
• Workflow
• Login & download survey
• Capture data using smart forms (connected or disconnected)
• Submit data when online
Collecting Data: WebForm vs. Field App
IE, FireFox, Chrome, and Safari iOS, Android, Windows, Mac, and Ubuntu
Reports in Survey123
Looking at your Survey Results
• Collected survey data works with the rest of the ArcGIS Platform
• Survey data is a feature service, can be leveraged like any other feature service
- Use survey data directly
- Add to a web map
Insights
for ArcGIS
Web AppBuilder
for ArcGIS
Survey123
for ArcGIS
Operations
ArcGIS Dashboard
Story Maps
For ArcGIS
Exercise
Introduction to XLSForms
About XLSForms
• Notes:
• Not all (but most) XLSForms features are implemented in Survey123
• Survey123 extends XLSForms with features that are not implemented in other tools
• Your reference to using XLSForms in Survey123 is our Survey123 help
XLSForm looks something like this
About Survey123 Connect for ArcGIS
• A desktop tool that will help you author XLSForms and publish them into ArcGIS
• Available for Windows, Mac and Ubuntu Linux
Downloading Survey123 Connect
• name The name of the field in your database where answers will be stored
• multiline • numbers
• calculator
• spinner
• distress
Appearances: Images
• Signature
• Draw
• Annotate
Survey123 for ArcGIS Bootcamp
Back at 12:45!
Survey123 for ArcGIS Bootcamp
4 * 3 returns 12
• Variables
${questioName}
• Example: Return the length of a pipe in meters:
${pipe_length_feet} * 0.3048
XLSForm Expression Syntax
• ${age} > 17 Returns true if the age question has a value greater than 17
• ${pipelength} * 1.45 Applies a 1.45 ratio to the length of a pipe and returns the value
• Constraint:
• Expressions in this column limit the user input
• Relevant:
• If the expression evaluates to false, the question is hidden
• Calculation:
• Used to prepopulate questions
Calculate Different Values based on previous questions
• Calculations video-tutorial
Using Lists
List Essentials
• Lists in XLSForms
• Modeled after two question types:
select_one
select_multiple
Appearance column
Tip: Look for the Cascading Select sample in Connect for details
Demo
BSD Cascading Select
Cascading select sample
Cascading Selects
• As of version 2.1:
• choice_filters work against strings (numbers not supported)
• Best to use external_selects for very long lists
• Anything over 300 choices
Tip: Look for the Cascading Select sample in Connect for details
External Selects
Demo
Group XLSForm Syntax
Demo
Learn More
• Groups video-tutorial
Survey123 for ArcGIS Bootcamp
• Instance name setting enables field users to uniquely identify survey form Drafts, Outbox,
Sent and Inbox folders in the Survey123 app
Without Instance name With Instance name
survey
settings
Survey Instance name – Points to remember
• Keep it simple. Use 2 to 3 fields that can uniquely identify the record. Instance Names are also used in the Inbox folder
Map view
• Use the Connect App to validate the instance name before publishing.
• If you are publishing the survey in Portal, ensure the fieldnames are in lowercase
Learn More
vs
ArcGIS
Enterprise
Create Surveys from Existing Feature Services
• Publish
- Settings: submission_url
- Settings: Form_ID
Requirements
Offline Basemaps
Going Offline
Location in Survey123
Location
• Location comes from the system location provider – may include Wi-Fi/Bluetooth
beacons/Cellular/IP lookup
• Accuracy threshold can be set using body:accuracyThreshold column
• By default Survey123 stores a 2D point; to store 3D set the field type to
esriFieldTypePointZ
• No location present ➔ point at 0,0
Working with Location Data
• When Survey123 takes a photo, it saves the location into the image (EXIF)
• Images can be downloaded from the feature service, mapped
• GeoNet blog:
https://community.esri.com/groups/survey123/blog/2017/03/22/working-with-your-
survey123-photos
Learn More
• Help: Geopoints
• Blog: Calculating Locations
• Blog: Pulling Data from Geopoint Questions
• Blog: Working with Survey123 Photos
Survey123 for ArcGIS Bootcamp
• Blog post: Understanding Survey123's custom URL Scheme, Navigator custom URL Scheme
• Documentation: http://doc.arcgis.com/en/survey123/desktop/create-surveys/integratewithotherapps.htm
Custom URL Scheme Workflow
• arcgis-
survey123://?itemid=9735c42727bb42b0936c5e7ba35117a4&field:streetaddress={PHYSICAL_STREET_NU
M} {PHYSICAL_STREET_DIR} {PHYSICAL_STREET_NAME}
{PHYSICAL_STREET_TYPE}&field:town={PHYSICAL_CITY}&field:state=AZ&field:zipcode={PHYSICAL_ZIP
}¢er={LATITUDE},{LONGITUDE}
• arcgis-survey123:// → calls the Survey123 field app
• ? → starts collection of parameters
• itemID=9735c42727bb42b0936c5e7ba35117a4 → specifies the survey
• & → parameter separator
• field:streetaddress={PHYSICAL_STREET_NUM} {PHYSICAL_STREET_DIR} {PHYSICAL_STREET_NAME}
{PHYSICAL_STREET_TYPE} → parameter field:[field_name] = [value from feature]
- Field names are case sensitive
• & → parameter separator
• &field:state=AZ → parameter field:[field_name]=[hardcode value]
Custom URL Scheme – Points to remember
• The custom URL Scheme is supported in ArcGIS Online, ArcGIS Enterprise 10.5 and
newer
• For a seamless experience, login to the Survey123 app before utilizing the custom
URL scheme in the map or app
• Ensure the data values being passed are clean and contain no special characters
• You cannot pass field values/ parameters
- To repeats in the survey
- To date fields in the survey
Learn More
Wrap up
survey123.arcgis.com
https://survey123.arcgis.com
Survey123 for ArcGIS
Release Cycle
*Subject to change
Survey123 Beta Program
https://bit.ly/S123beta