ArcGIS Survey123 Blog

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Other Boards in This Place


Latest Activity

(290 Posts)
ChrisLeSueur
Esri Contributor

The November 2024 update for ArcGIS Survey123 brings a host of exciting features to enhance your survey design and user experience. From creating your survey forms to working with the Suvery123 mobile and web apps, this release offers increased flexibility and efficiency.

Read more...

more
4 4 368
MarikaVertzonis
Esri Regular Contributor

AI assistants can be used in Survey123 to do the following:

  • use a conversation to help you design a survey in the web designer
  • extract information from images in the web app
  • translate survey designs in the web designer or in Connect

Survey123 assistants leverage large language model (LLM) and machine learning technologies. Specifically, Microsoft Azure OpenAI service is used for the Survey123 assistant and Microsoft Azure AI Translator Service for the translation assistant. Survey123 assistants follow the data security and privacy guidelines of ArcGIS Online.

These capabilities are disabled by default and only enabled when an organization administrator has opted in. To enable these features, organization administrators need to:

  1.  Navigate to the AI assistants section on the ArcGIS Online organization settings page and turn on the Allow use of AI assistants by members of your organization option.
  2. Go to the Survey123 website, open the Organization -> Settings tab, and under the Extensions section turn on the Survey123 assistant and Translation assistant.

Whilst these assistants are in beta, please join our early adopter community to learn more and provide us with feedback. Before clicking the following links, be sure to register and sign into the Early Adopter Community.

 

Similar but different, are smart assistants in the field app. Configured for image questions, smart assistants can perform image classification, object detection, and object redaction. These capabilities rely on machine learning models that are located on the device and do not use online generative AI services. For more information see Smart assistants.

 

more
2 0 833
alison_gou
Esri Contributor

Introduction

We are excited to announce that you can now use Survey123 triggers and actions in both ArcGIS connector and ArcGIS Enterprise connector in Power Automate. In this blog, we'll guide you through essential information to ensure a smooth transition with minimal disruption to your workflows.

As we move forward, our primary focus will be on Survey123 triggers and actions in the ArcGIS connector and the ArcGIS Enterprise connector. This means we will stop adding new features to existing Survey123 connector. It is important to note that ArcGIS connectors for Power Automate are premium connectors and require a Microsoft 365 subscription or a pay-as-you-go plan to create and maintain flows.

Q&A:

Are the functionality of the existing Survey123 connector and the new Survey123 triggers and actions in ArcGIS connectors the same?

Yes, the functionality remains the same for now. However, new features will only be added to the ArcGIS connectors in the future.

Do I need to reconfigure my existing workflow?

Not immediately. However, you may need to switch to or use ArcGIS connectors in the future for new features of Survey123 triggers and actions.

How to migrate my existing workflows from Survey123 connector to ArcGIS connector?

The trigger and actions in ArcGIS connectors remain the same in terms of appearance and functionality, so there will be no user experience difference. Migration can be finished either by creating and switching to a new workflow or editing the existing ones.

How to migrate my existing workflow from Survey123 connector pointing to ArcGIS Enterprise to ArcGIS Enterprise connector?

The work for this question is pretty much the same as above question. As a matter of fact, creating connections when using ArcGIS Enterprise has been simplified. Instead of following this blog when using Survey123 connector, see this new instruction for making connections to ArcGIS Enterprise connector.

How can I avoid token expiration in ArcGIS connectors?

Check out this blog for valuable tips on keeping your connections valid and avoiding token expiration.

more
1 4 596
JamesTedrick
Esri Esteemed Contributor

One of the uses for pulldata('@javascript') has been to integrate with 3rd-party APIs to import additional data into a form submission.  One of the early integration patterns we showed (and included for a time as a sample) was the OpenWeather API.  The OpenWeather API used in the early sample (2.5) is retiring on October 22.  If you are using the old OpenWeather API, please refer to OpenWeather's guide.  For the Survey123 script, the following adjustments will need to be made:

  • Update the OpenWeather URL to https://api.openweathermap.org/data/3.0/onecall
  • If extracting specific values in the script, please review the Matching parameters table to ensure that the correct value for the parameter in the 3.0 API is references.  In some cases, the path to the property may have changed. Otherwise, review the table for properties being extracted via pulldata('@json') functions in the form.

more
5 1 261
ChrisLeSueur
Esri Contributor

We are excited to announce that the September 2024 update for ArcGIS Survey123 is now available. This release brings essential fixes for the Survey123 website and web app, as well as enhancements to survey management and Survey123 reports.

Read more...

more
3 0 553
ZhifangWang
Esri Regular Contributor

Survey123 report capabilities allow you to generate high-quality reports in PDF or Word document formats based on survey data, including attributes, geographic features, and attachments. A report uses a Word document with placeholders as a template. The Survey123 report API replaces these placeholders with actual data when the report is printed.

If you're not familiar with Survey123 reports, you can learn the basics from the following resources:

 

In Survey123 reports you can include text, tables, images, and - of course - maps! In this blog, we will discuss several methods available for printing maps in reports.

 

Print a single feature on a map

If your survey includes a map question (geopoint, geotrace, or geoshape), you can easily print the specific feature on a map. For example, select a record on the Data page of the Survey123 website:

  • ${geopoint1 | size:400:300} - prints the feature in a 400 * 300 pixel map image, using the web map configured for the geopoint1 question.
  • ${geopoint1 | map:"dc0722c1c56c47268da4c1e046516b21" | size:400:300} - prints the feature on top of a specific web map.

 

Print multiple features on a map (where method)

In a summary section of report, you may want to display multiple features on a single map. To achieve this, make sure to include multiple records as the input for the report. For example, select all the records you want to print in the summary report on the Data page of the Survey123 website:

  • ${geopoint1 | where:"1=1" | size:400:300} - prints all features from the input on a single map, using the web map configured for the geopoint1 question.
  • ${geopoint1 | where:"STATE_NAME='California'" | map:"dc0722c1c56c47268da4c1e046516b21" | size:400:300} - only prints features of input records where the attribute STATE_NAME equals "California", on top of a specific web map.

 

Print features using the $shape keyword

In some cases, a survey may be created from an existing feature layer without including a map question. For instance, in an asset inspection survey, there might not be a map question to prevent altering the asset's location. In such cases, the $shape keyword, which represents the geometry of the feature, can be used to print features in a report.

  • ${$shape | size:400:300} - prints the feature of the input record.
  • ${$shape | where:"1=1" | map:"dc0722c1c56c47268da4c1e046516b21" | size:400:300} - prints all input features on top of a specific web map in a single map image.

 

There are several additional methods to control the look and feel when printing a map:

  • ${geopoint1 | mapScale:100000} - mapScale:<scale> controls the scale of the map, which will always center on the feature or features in the input.
  • ${geopoint1 | mapExtent:116.440:39.955:116.468:39.971} - mapExtent:<xmin>:<ymin>:<xmax>:<ymax>:<wkid> sets a fixed extent when printing a map. If WKID is omitted, 4326 will be used. This is an alternative to using mapScale, allowing you to control the map center regardless of where the input feature is.
  • ${geopoint1 | drawingInfo:"currentLayer"} - drawingInfo can override the default symbology (e.g., the blue pin for a geopoint) used by the report engine with the drawing information defined in the feature layer JSON. "currentLayer" refers to the layer where geopoint1 resides. You can also reference any feature layer by replacing "currentLayer" with a feature layer URL (e.g., https://.../FeatureServer/0). Note: this only works for input features to the report and does not affect any features or symbology defined in a web map.

 

One important note for all the above methods is that the specified web map is printed as a reference background under the input features. If a web map includes layers that contain the survey data, features printed by a survey question could conflict with features on the web map. To resolve this, you can use the $map keyword and the mapFilters method introduced in the September 2024 update for ArcGIS Survey123.

 

Print a web map without referencing a map question in the survey ($map keyword)

Previously, displaying a web map in a report required either referencing a map question in the survey or using the $shape keyword. The $map keyword enables you to print a predefined web map directly in your report without needing to reference a map question. For example:

  • ${$map | map:"dc0722c1c56c47268da4c1e046516b21" | size:400:300} - prints the specified web map as is.

 

Filter features in operational layers of a web map (mapFilters method)

A layer in a web map may contain more data than necessary for your report. To filter the features of a feature layer within the operational layers of a web map, you can use the mapFilters:"<parametersForQueryOperation>" method. The parameters can include common /query operation parameters such as where, objectIds, orderByFields, and resultRecordCount. Use = to assign a value to a parameter, and the & symbol to combine multiple parameters.

For example, if a web map contains a single operational layer with all cities in the USA:

  • ${$map | map:"7f2ef03be73a4b51b9e0480df46de7b1" | mapFilters:"where=STATE_NAME='California'"} - prints only the cities where the STATE_NAME attribute equals "California". Note that the text in the where clause must be enclosed in single quotation marks ' '.
    • 1. cities in California.png
  • ${$map | map:"7f2ef03be73a4b51b9e0480df46de7b1" | mapFilters:"where=1=1&orderByFields=POP2000 DESC&resultRecordCount=10"} - prints the first 10 cities with the highest population in the USA on the map.
    • 2. 10 cities with most population.png

       

 

If a web map contains multiple operational layers and you want to filter each one, you need to specify the layer id in web map JSON for each feature layer and concatenate all layers using a colon `:`. The format is {... | map:"<itemId>" | mapFilters:"'<layerId1inWebMapJSON>':<parametersForQueryOperation>":"'<layerId2inWebMapJSON>':<parametersForQueryOperation>":...}.

For example, imagine a web map that contains two layers: a layer of states and a layer of cities in the USA, where the cities layer is related to the states layer via the parentGlobalID field. In the web map JSON:

3. layer id in web map JSON.png

 

1918fe218e1-layer-5 is the layer ID for states, and 1918f9f547a-layer-4 is the layer ID for cities. e4a6f9ce-bc61-428c-8c26-202ff62e509e is the global ID of California in the states layer.

  • ${$map | map:"7f2ef03be73a4b51b9e0480df46de7b1" | mapFilters:"'1918fe218e1-layer-5':where=GlobalID='e4a6f9ce-bc61-428c-8c26-202ff62e509e'":"'1918f9f547a-layer-4':where=parentGlobalID='e4a6f9ce-bc61-428c-8c26-202ff62e509e'"} -  prints the state of California and all cities related to it on the map.
    • 4. state and cities of California.png

       

  • You can replace the static global ID value with its field name in the states layer. In this case, when you select any state as the input for the report, its global ID value will be dynamically replaced in the placeholder, allowing the map to display the selected state and its cities: ${$map | map:"7f2ef03be73a4b51b9e0480df46de7b1" | mapFilters:"'1918fe218e1-layer-5':where=GlobalID='"+GlobalID+"'":"'1918f9f547a-layer-4':where=parentGlobalID='"+GlobalID+"'"}

 

Other considerations and tips for filtering features in a web map

  • To keep the syntax in the report template simple, it's recommended to filter only one layer in the web map.
  • If you need to filter multiple layers, you must inspect the /data of a web map to identify the ID for each layer to be filtered. Each layer ID should be enclosed in single quotation marks ' '.
  • If you encounter a syntax error when uploading a report template or printing a report, check the related syntax to ensure that there are no missing double quotation marks, single quotation marks, or colons.

 

Other resources

more
5 5 834
BrettStokes
Esri Contributor

The latest (3.20) version of the Survey123 website installer has just been made available for download via the My Esri site. The file download is located  under Downloads  All Versions → ArcGIS Enterprise (Windows or Linux) 11.1, 11.2, or 11.3 Apps.

The 3.20 version includes all of the fixes and improvements from the June 26, 2024 update of the Survey123 web app and website, along with the following improvements to the installed website itself:

  • Removed AI features from the User Interface (Assistant, Autotranslate and Image extraction) since they are not supported in the website installer.
  • Update Node JS from 18 to 20.16.

If you’re not familiar with the Survey123 website installer or why some organizations need it, please refer to this previous blog post: Understanding the Survey123 website installer. It provides details on what it is, what you get, how it works and some other things to consider before setting it up in your local environment.

More information can also be found in the Documentation and the following Knowledge Base articles:

more
3 0 457
Leo_Lerner
Esri Contributor

Hello Survey123 users! Checking in from technical support here, with an issue that we’ve seen increasing volumes of tickets for. Many users want to produce convenient, unique, identifiers for their Survey123 records, and have them pre-populate a form. This post outlines some preliminary things to consider, outlines a commonly requested and increasingly fashionable workflow, and explains how to circumvent the tendency of the pulldata() function to draw on cached information.

Read more...

more
8 2 452
Lei_Liu
Esri Contributor

Calling all current and future Survey123 form authors! We want to see your survey designs become featured templates in the ArcGIS Survey123 community gallery. Let’s work together to inspire others and grow a collection of community templates. In this blog, we will encourage you to contribute your own survey designs to enrich the community's experience, guide you through the exciting features of our community gallery, and showcase some remarkable templates created by users like you.

Read more...

more
5 0 885
ZacharySutherby
Esri Regular Contributor

Translating your survey designs into languages applicable to your target audience is incredibly powerful and ensures that they can understand the questions and provide the best responses. Survey123 has supported authoring multilingual surveys for quite some time but has recently added tools to streamline that authoring process. 

Read more...

more
8 1 572
489 Subscribers