|
BLOG
|
Hello! Is it possible to use something like method=prompt? I'd like users to see this dialogue as soon as they click the image-annotate button Right now, Clicking on this button: Launches the camera first, and we don't see the prompt for Camera/Attach/Map until you back out of the camera (and there's no 'open folder' icon in this window either)
... View more
02-01-2022
11:52 AM
|
1
|
0
|
10273
|
|
POST
|
I thought that the javascript extensions didn't work at all in web forms and I went to find you the blog post where I read that awhile back. https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js/ba-p/898782 I don't remember seeing this part the last time I read it: When writing your own custom JavaScript functions for execution within your Survey123 form, remember that your code will not run within the context of a web browser; you are limited to JavaScript ES6. You can't use DOM objects, or frameworks like JQuery, Ember, Angular etc. You can't access local files or make asynchronous calls either. Despite all these limitations, there is still quite a bit you can do! Once you have your JavaScript function working, you can publish your survey. Custom JS functions are supported in online surveys as well as in the Survey123 field app. However, keep in mind that JS functions will not execute unless a user is signed in to the Survey123 field app or web app. Also, see this post: https://community.esri.com/t5/arcgis-survey123-questions/survey123-javascript-pulldata-extension-not/td-p/840816
... View more
02-01-2022
10:22 AM
|
0
|
0
|
1051
|
|
POST
|
I think the labels should appear in the dashboard, depending on what type of element you're displaying them in (and assuming you didn't update that list after the survey was first published. If so, see this post ) You could also have a hidden field in your survey that stores the labels of selected options and then use that as the display in the dashboard. You could get creative and use some html formatting like <br> to split up your selected options, too. https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm Used for select_one questions. Returns the label associated with the name of the choice in the given question. Be aware that the question must be defined inside quotes. jr:choice-name(${select_one}, '${select_one}') Used for select_multiple questions. Returns the label associated with the name of the choice in the given question. The selected-at() function must be used to extract the label for individual answers using the choice index. Be aware that the question must be defined inside quotes. jr:choice-name(selected-at(${select_multiple}, choice_index), '${select_multiple}')
... View more
02-01-2022
10:01 AM
|
2
|
0
|
2167
|
|
POST
|
I believe this is a known limitation (it's worked this way for me the entire ~3 years I've been using S123). When you first publish a survey, the name-label columns are all correct and labels are displayed in the feature reports and web maps. If you update your lists, the new options always use the name/code. I'm not going to claim that this is the best way to solve the problem, but here's what I do with my small list updates (this would be a pain with frequent updates or long lists)- 1. Update choice list in S123 Connect and publish updates 2. Go to the feature layer's page in your ArcGIS Online and click the "Data" tab 3. Select the appropriate layer that contains your list 4. Click the "Fields" button in the top right and select your field that needs it's list updated 5. If you already have a list of values here, edit it and add your new options. If you don't already have a list here, click "Create List". (FYI - I think the "Generate List" option in the bottom left is a new feature. That might be worth playing around with if you have too many rows to practically add by hand) List options that were present when you first published your survey should look correct here. Those that aren't will need to be entered as you have them in your S123 choices tab. (I assume that 'Generate List' will populate your new options, code values only, if you have features present in the feature layer with those new options stored.)
... View more
02-01-2022
09:50 AM
|
0
|
0
|
635
|
|
POST
|
Welcome. I don't know for sure, but I do think that the default option always you to switch between the different sketch methods. I never use it though....all of us prefer the sketch method.
... View more
02-01-2022
09:27 AM
|
1
|
1
|
3152
|
|
POST
|
Sorry, this is a really quick answer - You could build your form so that each species has it's own "group" and related questions (such as needs_met_moose, needs_met_salmon, needs_med_duck), etc or You could build your form with a "repeat" so that each new record in the repeat has an option to select a different species and then answer the same questions for each species. Avoiding the use of "repeats" will probably make the data a little easier for you to use however you want without making it too complicated.
... View more
01-31-2022
01:31 PM
|
1
|
0
|
6560
|
|
POST
|
The format for multiple relevant criteria ${integer1} < 1 and ${question2} = 'no' ${integer1} < 1 or ${question2} = 'no' As seen here: https://community.esri.com/t5/arcgis-survey123-questions/survey123-multiple-relevant/m-p/856131#M24827 For your other question, you're looking for "cascading selects" https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-choice-filters/ba-p/894046
... View more
01-28-2022
03:27 PM
|
1
|
3
|
6583
|
|
POST
|
Would one of these work? ${if varde_132_4 | countSelected<1}<answer>${/} ${if varde_132_4<1} <answer>${/}
... View more
01-28-2022
11:37 AM
|
0
|
1
|
736
|
|
POST
|
This is 100% a shot in the dark since I haven't used a hosted feature layer with search() yet, but is it possible that your query isn't working because you need to URLencode the ${projectname} first?
... View more
01-28-2022
11:30 AM
|
0
|
0
|
4142
|
|
POST
|
You can use method=vertex in the body::esri:style column https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-lines-and-polygons/ba-p/897415 Input Methods: vertex vs sketch When using geoshape or geotrace questions, you can optionally define the input method of your map.That is, you can control which style of tools will be presented in the map to help users delineate a shape. You can do this through the body::esri:style column in the survey XLSForm sheet. The map supports to input methods: sketch: Enables drawing tools in the map. This is meant to help users quickly draw, or sketch, a line or polygon in one single take. vertex: This input method is more appropriate when you want users to digitize shapes more accurately. The vertex input method provides tools to add vertices one at at time by: Tapping on the map. Centering the map at a target location. Getting the coordinates through the built-in or external GPS. The vertex method also lets users switch between edit and navigation modes, update and delete existing vertices. You will want to experience on your own each of these two input methods and decide what is best for your particular workflow. In some cases you want a simple and quick way for people to sketch a geometry. In others you want to give them more control, even if that implies some initial trial and error with the tools until they get familiar with them. The following example shows how you can set the vertex input method using the body::esri:style column: type name label body::esri:style date treatment_date Treatment Date geoshape treatment_area Treatment Area method=vertex
... View more
01-28-2022
11:26 AM
|
2
|
3
|
3164
|
|
POST
|
When you open the map in a browser, do you get any error messages like "Cannot load layer: ______"? Many of my basemaps include feature layers that are publicly shared, but I am not the owner of. If the layer is offline for maintenance or unavailable for any reason, I get an error on report creation as well.
... View more
01-28-2022
11:20 AM
|
0
|
0
|
819
|
|
POST
|
Have you verified that the webhook ID in the Survey123 website is (still) the same as the one you're using in Power Automate? I've had situations where I update the form in connect and end up breaking the webhook. When using the field app, you need to re-download the survey to pull in the new webhook. (I assume this isn't an issue for you when using the web form) I've also had a few occasions where I needed to recreate the link to integromat because the web hook that was shown on the S123 website wasn't matching what I saw in integromat.
... View more
01-28-2022
11:15 AM
|
0
|
0
|
3620
|
|
POST
|
Here's a quick and dirty XLS to get you started, @Hamg There's a lot you could do to enhance the survey, like making use of geopoints in various ways, adding options for people to fill-in "Other", adding graphics to the options, utilizing webhooks, etc. If you're just getting rolling with Survey123, it might be a good idea just to keep this one very simple and only collect the needed information.
... View more
01-28-2022
09:10 AM
|
0
|
6
|
6633
|
|
POST
|
Hi @Hamg , This is a great starting point since they've pretty much laid out the structure for you here. My input would really depend on how you're planning to have people fill it out. Are they going to be using the web form? Mobile app on their own device? Mobile app on a F&W tablet?
... View more
01-28-2022
08:48 AM
|
1
|
8
|
6640
|
|
IDEA
|
2x ideas - 1. define a certain question to scroll to on NEW repeat records when a user clicks the "+" to add a new record. 2. Flag to expand/collapse/use XLS Appearance setting for groups within repeats when the user clicks "+" to add a new record Right now, the vertical scroll defaults to the bottom of the repeat when a new record is added and any groups that were expanded in the previous record will remain expanded on a new record. Having the option to overwrite each of these behaviors individually would be great, but being able to set the behavior for the entire form would be very helpful as well.
... View more
01-25-2022
03:35 PM
|
2
|
0
|
316
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-25-2025 01:37 PM | |
| 1 | 11-18-2021 11:59 AM | |
| 1 | 08-06-2019 07:41 AM | |
| 1 | 11-16-2022 08:32 AM | |
| 1 | 11-15-2022 12:48 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-11-2025
11:41 AM
|