|
POST
|
Hi @GIS_NLPV * https://doc.arcgis.com/en/survey123/desktop/create-surveys/preparebasemaps.htm * https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-configure-a-map-for/ba-p/1169513#
... View more
10-27-2022
08:55 AM
|
1
|
0
|
1734
|
|
POST
|
Thanks @KarinaLivingston I can reproduce this. We will look into it.
... View more
10-26-2022
06:12 PM
|
0
|
0
|
2598
|
|
BLOG
|
[October 31. HotFix release announced] [October 27. Updated step-by-step video to configure custom templates] [October 28. Added a note about planned HotFix for November 1] The Survey123 web designer gets better in our October 2022 release: A new audio question type, enhanced calculations, and organization templates! Read on to learn more... About the Survey123 web designer The Survey123 web designer lets you visually build your own forms. Once published, you can securely share them with people within your own ArcGIS organization, or with the general public. Surveys created in the Survey123 web designer can be completed in a browser or in the Survey123 mobile and desktop apps. If you are not familiar with the Survey123 designer, you can start using it right away. Once you are signed in to ArcGIS, you are just a few clicks away: What's new in the October 2022 release A key new feature in this update relates to calculations. Calculations allow you pre-populate questions in your form using data previously entered in the survey, an ArcGIS layer, and so on. Calculations are useful because they can streamline data entry. Calculations make your surveys smarter. Make your forms geographically smarter with geo-calculations Calculations have been available for a while in the Survey123 web designer. With this release, you can now configure geo-calculations. This will help you make your forms geographically smarter! Below is an example where a geo-calculation automatically gets the APN (Assessor Parcel Number) of a parcel, when the respondent clicks on it. To retrieve the APN, the form uses the location from the map to do a point-in-polygon query against the parcels layer. Parcels are just one example. You can configure point-in-polygon queries to hit any polygon layer you may already have in ArcGIS. You also decide the value from the intersecting polygon that you want as an output for your calculation. The video below shows, step by step, how to get started with geo-calculations. As you play with this new option, you will soon discover that you can do attribute queries in your calculations too. This is useful when you want to simply take a value and do a lookup search on a table or layer to bring some additional data into your form. Below is an example where I take a customer number and automatically retrieve the full name and email contact of the customer. That's all done through a simple attribute query calculation. I bet you will figure out how to do that with designer! 🙂 Configure Survey123 design templates for your organization As more and more users in your organization are granted permissions to create new surveys, providing direction and guidelines for survey design becomes more and more important. Starting with this release, you can configure a set of surveys as templates for Survey123 authors within your organization. The animation below shows what an organization Survey123 template gallery looks like. Note that when the survey author chooses to start a survey from a template, 6 custom survey templates appear. Your organization templates can include common survey designs that people will want to reuse again and again. Why should survey authors have to start from scratch? Survey templates will save time, and also bring consistency. The following video demonstrates how you can configure Survey123 to present a custom set of templates to all Survey123 authors in your organization. New audio question type The audio question type is designed to help you record audio within your surveys. You can either record audio right from within the form, or browse for an existing audio recording on your device or computer. Drag and drop the audio question type into your form design, publish, and you are good to go! Audio files are stored as ArcGIS attachments. You can play the recordings from other ArcGIS apps or download your audio files along with the rest of your GIS data. Next steps [Updated October 28] This update introduced the following regressions, which we expect to fix through a quick patch by November 1: BUG-000153255 - Unable to filter using the value option in the Survey123 website. Error message: TypeError: Cannot use 'in' operator to search for 'name' Setting a relevant rule (Set rule) does not work if target question types are Image/File upload/ Audio You can test the fixes already at: https://survey123beta.arcgis.com/ [Updated October 31] Hot fix released to address the following issues: BUG-000153255 - Unable to filter using the value option in the Survey123 website. Error message: TypeError: Cannot use 'in' operator to search for 'name' BUG-000149962 Photos taken in some Samsung Galaxy devices returns "Cannot read property 'width' of undefined." error when printing in a report Setting a relevant rule (Set rule) does not work if target question types are Image/File upload/ Audio If there is a question whose label is blank in a multilingual survey published from Survey123 Connect, the report quick reference and the Analyze page do not work as expected Date Picker: missing year and incorrect date order for some locales Time question icon does not appear in Firefox Other than minor updates with fixes, our next planned release is December 6, 2022. The main features in the works include: CAPTCHA control for web surveys (delay with this one is acknowledged. Sorry about it) Support for multilingual survey authoring Add the Create Report action to the Survey123 Microsoft Power Automate connector
... View more
10-26-2022
05:33 PM
|
7
|
9
|
5159
|
|
BLOG
|
Thanks @iHack for your time on the phone. Sharing here the cause of the problem for others to benefit from it. In the video, I did not explain correctly what to type in the features parameter. I forgot to enclose the attributes JSON string in between square brackets. The screenshot below shows the correct JSON with the square brackets added. Sorry! I bet this is what got @RosemaryHatch and @SaraPluta in trouble too. Just follow instructions as shown in the video... but also enclose the whole attributes JSON with square brackets!
... View more
10-26-2022
04:13 PM
|
1
|
0
|
4012
|
|
POST
|
If you load your 300 images into the media folder, you will be able to reference them and dynamically set the annotate question. Check the sample in Survey123 Connect for details.
... View more
10-26-2022
04:01 PM
|
0
|
0
|
1115
|
|
BLOG
|
@iHackI think I know why you are getting the error but it will save me the typing if we do a quick call. Please send an email to [email protected] so I can get you into a screen sharing session
... View more
10-26-2022
03:56 PM
|
1
|
0
|
4014
|
|
BLOG
|
If you get back HTML I suspect it is because you did not specify the f=json parameter. The default output format is HTML. Make sure you add f=json to the URL you send to the ArcGIS REST API. If you are doing this for Survey123, consider this other approach too: https://community.esri.com/t5/arcgis-survey123-blog/understanding-reverse-geocoding-in-survey123-3-0/ba-p/891644
... View more
10-26-2022
03:00 PM
|
0
|
0
|
4019
|
|
BLOG
|
The pulldata("@layer") function was introduced with Survey123 version 3.16 (October 2022). It allows you to query an ArcGIS layer and retrieve data from it. In this blog, I will explore common scenarios for this function and describe design best practices and limitations. A bit of context first Querying ArcGIS layers using XLSForm expressions is not a new concept. Back in the day, I described how to do it using custom JavaScript functions. Using custom JS functions gives you great flexibility, but you need to know how to write JavaScript, and most importantly, you can't execute a custom JS function if you share a survey publicly. The new pulldata("@layer") function simplifies the syntax for querying ArcGIS layers, and it can be used in public surveys too! Point-in-polygon calculations using a map The animation below shows a typical scenario for pulldata("@layer"). A calculation takes the location set in the map, and triggers a point-in-polygon query to retrieve a value from the intersecting polygon; a parcel's APN (Assessor Parcel Number) in this case. I can think of a gazillion cases where point-in-polygon queries will be handy... just think of the polygon layers you may have: parcels, soils, fire perimeters, sales territories, evacuation zones, city boundaries... Point-in-polygon calculations using an address location Point-in-polygon queries do not strictly require a map in your form: They require a location and a polygon layer. In the example below, the respondent enters an address, and a point-in-polygon query is triggered to automatically calculate the City Code that applies to that location. In this case, the location for your point-in-polygon query does not come from a map, but an address. The City Code comes from the feature layer targeted in your point-in-polygon query. Point-in-polygon calculations will help you make your forms geographically smarter. You can choose to display the geo-calculated values in the form, or keep them hidden. Point-in-polygon queries for data validation You can use the output of pulldata("@layer") to calculate a value, like in the examples above, or to feed a data validation rule. In the next animation, a point-in-polygon query checks if a reported incident falls within a City of Redlands public park. If it does, the report is accepted. If it does not, the user will not be able to submit the form. Again, we are essentially doing a point-in-polygon query using pulldata("@layer"). In this case, the output of the query is used to check the integrity of the data. Calculate values using an attribute query In the example below the respondent enters a customer number and the form automatically populates contact information about that customer. That is all done through pulldata("@layer"): The customer number is used to find a record in the customer layer. If found, the name and email attributes are populated. Customers, assets, buildings, parts... You can query any ArcGIS layer or table as long as, of course, the user completing the form has access to the layer or table. Count records in a table or layer Another common use case is that in which you want a survey to stop accepting responses once a certain number of records are submitted. This is also something pulldata("@layer") can do for you. Check out the next screenshot: Through a query to the signup table, we can tell how many people already signed up. A constraint in the form uses this value to allow (or not allow) another person to submit the survey. Now that we have reviewed some common scenarios, we are going to get hands on... Getting started with pulldata("@layer") If you have read this far, you will be eager to start. The pulldata("@layer") syntax is described in this help topic. Have a good read of this topic as it describes the basics very well. Point-in-polygon query to retrieve a single attribute: pulldata("@layer", "getValueAt") This three-minute video shows, step-by-step, how to construct a simple point-in-polygon query using the World Administrative Divisions layer from ArcGIS Online. If you want to follow along, make sure you have Survey123 Connect version 3.16 or newer. For your reference, you will find the getValueAt.xlsx file attached at the bottom of this post. The getValueAt_Constraint.xlsx file shows how you can use the calculated value from the point-in-polygon query to ensure the location chosen by the user falls within a polygon. Point-in-polygon query to retrieve multiple attributes: pulldata("@layer", "getRecordAt") Another three-minute step-by-step video building on the previous one. In this case, the getRecordAt operation is used to do a point-in-polygon query and get an entire record. Using the pulldata("@json") function, the record is parsed locally to get multiple attributes efficiently. Find the getRecordAt.xlsx file in the attachments section below for reference. Refining point-in-polygon queries using extra parameters On top of the well defined parameters you can pass to the getRecord and getRecordAt operations, you can also pass extra parameters to the feature layer url to perform some more advanced queries. For example: distance: This parameter allows you to buffer the input geometry (geopoint) to find polygons within a given distance. By default, the distance units come in meters, but you can also specify other units. For example, the following expression will apply a buffer of 1600 feet to the provided location (geopoint) and find any intersecting polygons in the critical habitats layer. pulldata("@layer", "getRecordAt", "https://services.arcgis.com/QVENGdaPbd4LUkLV/ArcGIS/rest/services/USFWS_Critical_Habitat/FeatureServer/0?distance=1600&units=esriSRUnit_Foot", ${location}) I highlighted in blue the key part where the distance and units are specified. These extra parameters are added to the URL. You need to add a question mark (?) to start adding extra parameters and then separate them with an ampersand symbol (&). gdbVersion: This parameter is useful if you want to query a versioned multi-user geodatabase feature layer. orderByFields: If you expect your query to return more than one value, you can use this parameter to sort the results. For example, say you use getRecord to get all tickets submitted by a user. You can use orderByFields to sort all tickets by date in descending order. This will make your getRecord operation to give you back the latest ticket submitted. outStatistics and groupByFieldsForStatistics: Ideal when you want to retrieve stats from your layer, rather than a unique record or value. This is how, for example, you will want to get a count of records in a layer. Check the Query (Feature layer) help topic to learn more about all the extra parameters you can use. The Request Parameters section in this help topic describes the parameters that you cannot use. Advanced techniques with pulldata("@layer") Survey123 Connect includes a sample called Query a Feature Layer. Have a look at it, as it illustrates some advanced techniques you can leverage to gather statistics and construct dynamic queries. A few extra tips and things you should know Public surveys: Unlike custom JS functions, you can use pulldata("@layer") with public surveys. No offline support: The pulldata("@layer") function only works while online. This makes it particularly useful for web surveys, although if your device is connected, it will also work in the Survey123 field app. Support starts with version 3.16: If you go into Survey123 Connect and you can't even get the samples to work, check your Connect version. You need 3.16 or newer for this function to work in Connect. All surveys published with version 3.16 or newer will work in the web app. For the field app, ensure users have the latest version of Survey123 installed on their devices. Otherwise, your pulldata("@layer") function will be ignored. You do not need to add a layer to a map before you query it: I think this one should be obvious already, but I will add it just in case. You do not need to add a layer to your survey map before you can query it. In fact, you do not need a map in your survey to do a query. All you need to do is to pass the URL of your layer to the function. About tokens: When using pulldata("@layer") you do not need to worry about tokens. Since the token of the signed in user is passed automatically to the function. concat() is your friend: When composing a SQL WHERE filter, use the concat() function. For example: Good: concat("MANHOLE_ID='", ${question1},"'") Bad: MANHOLE_ID='${question1}' SQL tips: Where statements can sometimes be tricky. Quote if you work with a text field: concat("MANHOLE_ID='", ${question1},"'") Do not quote if numeric: concat("MANHOLE_ID=", ${question1}) What is the SQL to query records in the last 15 days? Check the solution here. Layer sharing: Make sure the layers you query are appropriately shared. For example, you cannot expect a private layer to be available in a public survey. Do not dream of Survey123 magically letting you query a layer the signed in user does not have access to. If Survey123 cannot access a layer you reference in pulldata("@layer"), the output of the function will be empty. The user will not see an error or warning. Layer capabilities: The layers you query need to be queryable. This may seem obvious, but it may catch you out. If the data you are querying is sensitive, consider the use of feature layer views to restrict access to fields and rows as appropriate. pulldata("@layer") is not for populating a list: The purpose of pulldata("@layer") is to help you query a layer and get back either one record, or one value (attribute) from a record. If you want to query a layer to populate a list, use the search appearance instead as described in this blog post by @BrettS or this other blog post on geolists. If you need a bit more guidance, you can check this video with a few demos and step by step instructions. More info in video A one hour session covering pulldata("@layer") was recorded some time ago. More info here.
... View more
10-26-2022
10:49 AM
|
30
|
55
|
135735
|
|
POST
|
Hi @3CDCOrganizationalAccount Records in a repeat are modeled as an array. This blog https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-working-with/ba-p/1000916 may give you a hint on how to work with arrays in Power Automate.
... View more
10-26-2022
08:41 AM
|
0
|
1
|
1759
|
|
POST
|
Hi @CARLOSDIAZ_ARAUJO Totally possible. Check the Annotation sample as shown below. You can always show the same image, or make the image dynamic, as shown in the video and XLSForm below.
... View more
10-26-2022
08:35 AM
|
1
|
0
|
1358
|
|
POST
|
Hi @Michael_VanHatten The URL parameters for the Survey123 web app are different than the field app. This blog post should serve as a starting point: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-web-form-url/ba-p/894722
... View more
10-25-2022
04:11 PM
|
1
|
0
|
1435
|
|
BLOG
|
@peterverwey_sesNot yet. The holistic testing day will be the first opportunity to get your hands into the 1.16 Beta. From that point on, the documentation in the Early Adopter Community website will be updated.
... View more
10-24-2022
11:37 AM
|
0
|
0
|
3389
|
|
BLOG
|
@peterverwey_ses May be. We have not tried yet! If you have a chance, join us for the upcoming holistic testing day and lets give that a go. I am not sure if this will fit your needs, but you can also use a webhook for that as described here: https://community.esri.com/t5/arcgis-quickcapture-blog/data-enrichment-with-arcgis-quickcapture-and/ba-p/892203
... View more
10-24-2022
10:51 AM
|
1
|
0
|
3402
|
|
IDEA
|
Closing. Alternative solutions: https://community.esri.com/t5/arcgis-survey123-ideas/nested-item-selection-using-another-variable/idc-p/1219829/highlight/true#M2246 https://community.esri.com/t5/arcgis-survey123-blog/dynamic-choice-lists-using-search-appearance/ba-p/1060838 https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046
... View more
10-24-2022
07:40 AM
|
0
|
0
|
2040
|
|
POST
|
@ahargreaves_FW Please share XLSForm with the corresponding CSV
... View more
10-20-2022
02:42 PM
|
0
|
1
|
5520
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-03-2021 09:03 AM | |
| 1 | 04-01-2022 12:48 PM | |
| 1 | 03-22-2022 08:44 AM | |
| 1 | 08-26-2021 02:43 PM | |
| 1 | 10-30-2019 10:15 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|