|
BLOG
|
Yes. If you are offline you need an offline map. You can create a VTPK and copy it into the media folder. In that way, when the survey is downloaded into the device, users do not need to do anything else. You can also wok with TPKs and MMPKs. You can create the map packages in ArcGIS Pro, from your own data and/or from Esri Basemaps.
... View more
04-20-2022
04:46 PM
|
1
|
0
|
2423
|
|
BLOG
|
A new update to ArcGIS Survey123 is now available. The April 2022 release includes focused fixes, minor functional enhancements and Bulgarian language support. To learn what’s new in this and prior releases, you can also check our What’s new archive. Documentation Some question types in XLSForm have additional parameters that allow you to control the style or behavior of questions in a survey. In some cases, these parameters complement the appearances that a question type supports. The new XLSForm parameters help topic describes all of them in detail. Survey123 website and web app fixes BUG-000144856 When filtering Single choice questions in the ArcGIS Survey123 website by unique values, blank drop-down entries are displayed in place of removed choice options. BUG-000147917 Survey123 web app does not enforce the count-selected(${image_question_name}) constraint for an image question with multiline appearance if the survey title contains any upper-case letter when publishing the survey for the first time. ENH-000140973 Provide a confirm button in Survey123 website in a mobile device while filling a geopoint in survey to make it similar to Survey123 Field application BUG-000137843 When the ArcGIS Survey123 web app returns the error message, "Error: Initializing form...", due to failure to load the CSV file, the error message does not fit in the dialog window. BUG-000147360 Performing statistics on a nested repeat layer outputs unexpected results if the main record does not have any nested related records ENH-000138984 Allow user to retrieve the number of unique values from a field in a survey report BUG-000134460 The ArcGIS Survey123 web app does not correctly display the starting day of the week in the calendar when the survey is published with the default language set to Español (es). Survey123 Connect and field app fixes BUG-000145239 Unable to download public surveys with anonymous access disabled in ArcGIS Enterprise has been fixed. BUG-000147656 The ArcGIS Survey123 field app does not show the existing values properly for a select_one question with the autocomplete appearance and a default value has been fixed. BUG-000147935 A question field with an autocomplete appearance within repeat navigates to the name of the choice, instead of a label has been fixed. BUG-000147451 Relevant expressions using fields based on previous questions with default values in Survey123 field app do not populate as expected has been fixed. BUG-000147571 Default value used in choice filter fails to load choice lists on subsequent repeats with autocomplete appearance has been fixed. Relevant or calculate expressions that null a value and do not get updated in the feature layer has been fixed. Leading zeros being truncated when submitting from the Inbox has been fixed. An issue causing images collected with the Spike app not displaying correctly has been fixed. An issue with .mp4 attachments being uploaded with the incorrect content type has been fixed. An issue with select_one_from_file selections not being visible in the Inbox when choice labels are integers has been fixed. Added ability to connect to a GNSS receiver using an output baud rate other than 4800. Next steps Our next release is planned for May 2022. XLSForm syntax We hear again and again that you want to set the file name of photos using an XLSForm expression. We will share this very soon through the Early Adopter Program with the aim to make it available in May 2022. In this upcoming update we want to expand the pulldata() function in XLSForm to help you more easily retrieve the survey title, full name of the signed-in user, version of Survey123 app used to submit data, and the operating system and device model that the app is running on. All of this is important if you want to understand where your data is coming from. We will also continue working on the pulldata("@layer") functions we announced earlier . Survey123 designer Many of you create surveys and share your URLs in social media. In this upcoming update we want you to be able to customize the thumbnail and survey description that appear in the social media card. This will help you make your survey links more appealing. More appeal, more clicks. If everything goes according to plan we will also make available, as a beta feature, CAPTCHA capabilities for your forms. Some of you have requested this feature to protect your public surveys from automated robot attacks. We are also looking at adding new configuration options to the map question types so you can better constrain how people add data. For example, to improve the accuracy of data you may want to force users to zoom in to certain map zoom level before they can submit. Survey123 field app We are working with some of you to test alpha versions of new streaming tools to support field data collection workflows. We will have this work ready in beta in May. Our target is to make this available no later than June 2022. We are also working to improve the audio recording capabilities of the field app. We want to reduce the size of the audio files created, allow you to record for longer, and give you options to control the output quality and codecs used. Survey123 reports Enhancements to the report engine to make PDF outputs more accessible are in the works and scheduled for release in May.
... View more
04-20-2022
07:13 AM
|
8
|
5
|
4269
|
|
IDEA
|
@abureaux This entry is under Ideas. @ThomasKonzel is suggesting that we consider adding support for custom DNS like in ArcGIS Hub. Definitively a good idea! Looking forward to see if other people also would find this useful and why. We look at Survey123 Ideas submitted to prioritize our next development items.
... View more
04-19-2022
03:22 PM
|
0
|
0
|
2397
|
|
POST
|
When you add a geopoint question to your XLSForm, Survey123 Connect expects your target layer to have a geometry field. In your case, the target layer is a table. If somehow you can add a geometry field to your table, Survey123 Connect will not complain. For example, if you published your feature service from ArcGIS Pro, you should be able to overwrite your service. Since it looks like you will need to recreate you table anyways, you could do the following: Use the Save as option in Survey123 Connect to make a copy of your survey design In the new form, go into the settings worksheet and clear the submission_url an form_id cells Add your geopoint question and make other changes to your design Publish your survey. This will create a new folder in your account and a new feature service Next append data into you empty new feature services using the old layer and table as a source
... View more
04-19-2022
03:18 PM
|
1
|
1
|
2307
|
|
BLOG
|
There are many ways to hide questions using XLSForm. How you do it depends on a few things. In this blog post we will review some common scenarios, common problems and best practices. Familiarity with Survey123 Connect and XLSForm is assumed. Calculate a question and hide it permanently using the hidden appearance The most common scenario for permanently hiding a question is where you want to automatically calculate a value and keep it hidden from users. Below is an example where I calculate the horizontal accuracy of a geopoint question and the email of the currently signed-in user. In both cases I use an expression in the calculation column and set the appearance of the question to hidden. Calculate and hidden question types versus hidden appearance In the example above, one could argue that the same could have been achieved using a calculate or hidden question types. For example: The calculate and hidden question types are both part of the XLSForm specification and as such supported in Survey123. Having said this, I think it is better to use the hidden appearance. The problem with the calculate and hidden question types is that they allow you to hide a question at the expense of giving up the question type. Look at row 3 above, for example: If I set the question type to hidden, my question type is no longer decimal. It becomes a hidden question type, which automatically maps to a string (text) data type. Calculate and hidden question types always default to text. That is a problem, because my accuracy calculation is going to output a decimal value and I do not want it as text. To correct this, I need to go into the bind::esri:fieldType column and specify that the field type is esriFieldTypeDouble. That is one more thing I need to worry about! I would rather set my question type as I like, and then use the hidden appearance. The only case where I still like to use calculate question types is when working with grid layouts. In that case, calculate has the advantage that it does not take up any space in the grid layout, as opposed to a question with the hidden appearance, which will still take a space (albeit an empty space). Permanently hiding a question to keep track of status Let's explore another scenario where you want to permanently hide a question, and use the hidden appearance. Pretend you are creating a form for people to report incidents. You want to use a field to keep track of the status of the incident. When an incident is reported with Survey123, you want the status to always be 'Open'. Using a second survey, or maybe another ArcGIS app, you want another person to open the record and be able to change the status to 'In progress' or 'Closed' using a drop-down list. This is one way to do it: Note that rows 2 and 3 will be visible to the user, but rows 5 and 6 will be hidden. In row 5 we store the status, which has a default value of Open. The respondent of the form will not see the question, but when the record is submitted, the status field will always be Open. The status question uses the select_one question type. This means that when the survey is published, a domain will be created so values can be changed through a drop-down list. This is an example where the hidden appearance has saved our bacon again! If we were to use a hidden question type in row 5, we could have not had this question create a domain. Row 6 has no secrets: We add it so the survey layer has a field where a reviewer can enter comments. This question is hidden in the form but visible to any ArcGIS app that opens the layer. Using a hidden question to initialize a form Another common scenario where you want to hide a question is when you prepopulate a value when the form is initialized using app link or a custom URL. Here is an example: Note that in this scenario, the hidden question is not being calculated. Instead, it is expected that you populate this question when the form is initialized through a custom URL parameter or app link. You pass the customer ID to the form, and then the customer name, surname and phone questions are automatically populated. Again, you may want to hide the customer ID question to avoid confusion: You expect the name, surname and phone to be known, so you present them to the respondent in case they need to be corrected. As for the customer ID, you do not want anyone to change it and you want to keep the form simple, so you hide it. You do not always need to hide a question when it receives data from an app link, but if you want to hide it, this is the best way to do it: with the hidden appearance. Dynamically hiding questions using body::esri:visible and relevant While permanently hiding a question is useful, you might also want to show and hide a question dynamically. There are two main ways to do this in Survey123. These two approaches have subtle, but important differences. The body::esri:visible column dictates if a question is visible or not. If the expression in this column evaluates to false, the question is hidden. For example: In the above design, the comments question in row 4 will only be visible if the damage level is High. There is not much more to it: body::esri:visible controls the visibility of a question through an XLSForm expression. That's it! We also have the relevant column which does something similar, and more. The relevant column, like body::esri:visible, controls the visibility of a question, but it also clears the value in the question when the expression evaluates to false. Big difference! Visible and relevant are two very different things! The relevant column affects both the question's visibility AND its value. This can be both very useful and also sometimes problematic. For example, say a question is relevant and the user answers it. Now the user changes something in the form that makes that question not relevant. At that point, whatever value was entered in the question is cleared. That data is lost forever. This is often known as question skipping, which is different to simply controlling the visibility of a question. A lot of survey authors use the relevant column over body::esri:visible. In part, this is due to history: We added support for relevant many years ago. The body::esri:visible column is much newer. Now that you have the choice, you can decide what behavior you want. Now, something important to remember is that image and audio questions do not support body::esri:visible. Use groups to avoid repetitive relevancy and visibility expressions When working on very large forms, you may find yourself applying the same relevancy or visibility expression to many questions. When this happens, consider using groups so your expression can be applied once to the group, rather than to every question. For example, consider this situation: See how many times the expression ${building_affected} = 'Yes' needs to be evaluated? 11! Next, have a look at this: In this case the visibility expression is evaluated only once, which is much more efficient. You do no have to use this technique every time you see two or three consecutive questions using the same visibility or relevancy expression, but keep it in mind, particularly when your form grows in size.
... View more
04-19-2022
02:12 PM
|
12
|
39
|
57998
|
|
POST
|
Hi @Gustavo_Souza I tried this out. If you set the default value of the geopoint question to null and you pass the center parameter, the geopoint value will keep your coordinates. I think this is the simplest approach, and the closest to what you already had. In my case, trying to set the value of the geopoint question directly using field:<nameofgeopointquestion> did not work. Alternatively, you can also go with the XLSFom below and pass the point_x an point_y coordinates using field:point_x You may want to set the appearance in point_x and point_y to hidden so the questions are not visible. In practice, unless you want to store the X Y coordinates as attributes, I think the best is to just use the center parameter.
... View more
04-19-2022
11:38 AM
|
4
|
4
|
12435
|
|
POST
|
Hi. The problem is the % sign at the end. Survey123 Connect is more tolerant than the web app. Try format-date(${mytime},'%e.%n.%Y') instead.
... View more
04-19-2022
11:10 AM
|
0
|
0
|
1468
|
|
POST
|
Attaching an example Tips: For the silt + sand question, instead of using the hidden question type, use an integer type and set the appearance to hidden Use the esri::body:style column to show/hide the clay question
... View more
04-19-2022
07:48 AM
|
1
|
0
|
2273
|
|
POST
|
Hi. To return the total record count in a layer you would need to use a custom JS function. Below is an example. The problem is that custom JS functions do not work if you publish your survey publicly. It seems like you would not want people to have to login to register for an event. Sharing the code just in case, although it looks like a long shot. function getCount(featureLayer,token){
var xmlhttp = new XMLHttpRequest();
var url = featureLayer + "/query?f=json&where=1=1&returnCountOnly=true";
if (token){
url = url + "&token=" + token;
}
xmlhttp.open("GET",url,false);
xmlhttp.send();
if (xmlhttp.status!==200){
return (xmlhttp.status);
} else {
var responseJSON=JSON.parse(xmlhttp.responseText)
if (responseJSON.error){
return (JSON.stringify(responseJSON.error));
} else {
return JSON.stringify(responseJSON.count);
}
}
} Bel
... View more
04-18-2022
11:34 AM
|
2
|
2
|
3570
|
|
POST
|
Hi @ThomasKonzel The main purpose of the installer is to support completely disconnected environments, but in your case you could install it in a public facing web server so you can benefit from having a custom domain for your Survey123 links.
... View more
04-18-2022
11:18 AM
|
1
|
1
|
2761
|
|
POST
|
Hi @Anonymous User Could you please open a new Tech Support incident for this?
... View more
04-18-2022
09:38 AM
|
0
|
1
|
1069
|
|
POST
|
Hi. You can do that by installing the Survey123 website locally. This is not as straight forward as configuring a custom domain in ArcGIS Hub, but that is how you can do it.
... View more
04-18-2022
09:35 AM
|
0
|
1
|
2778
|
|
POST
|
Hi Kevin. That is right. At this moment, the web designer does not let you use data from a dropdown question in a calculation. This is something that we will resolve in the future. In the meantime, you will need to use Survey123 Connect.
... View more
04-18-2022
09:27 AM
|
1
|
1
|
1940
|
|
POST
|
I cannot reproduce the behavior you describe. I wonder if you have expressions set in the relevant column that could be clearing the geometry value when you reopen the record. Could you share the XLSForm?
... View more
04-18-2022
09:24 AM
|
0
|
0
|
3462
|
|
POST
|
Hi. The behavior has changed. See this blog for details.
... View more
04-18-2022
09:11 AM
|
0
|
1
|
1784
|
| 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 |
4 weeks ago
|