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

ArcGIS Survey123 Blog

Esri Notable Contributor Esri Notable Contributor Esri Notable Contributor
‎09-26-2019 04:21 PM

According to The Hobbit and The Lord of the Rings trilogies written by J.R.R. Tolkien, Bilbo and Frodo were born during the Third Age in the years 2890 and 2968 (of the Shire calendar) respectively. Translated to our Gregorian calendar, Bilbo was born

... more
19 49 20.7K
49 Comments
Frequent Contributor

Some very interesting features added.

The Web form view-only mode example URL doesn't work though.

Craig

Esri Notable Contributor
Esri Notable Contributor

Thanks Craig. URL fixed in the blog. For your view-only.

Occasional Explorer

Hello!

It seems that after this update my conditional statements within my reports page are no longer working. They all start with ${conditional statement} and end with ${/} and none of them appear within the report page at all anymore. Can you please provide some assistance. 

Thanks!

Esri Notable Contributor
Esri Notable Contributor

Hi Justin. Please send your Word template to survey123@esri.com so we can have a look. This may be related to this issue.

Regular Contributor

Ismael Chivite‌: Great work on this release! The polygon/line support will go a long way to solve some non-starter workflow issues that some folks have had.

Unfortunately, I'm writing to report what looks like a regression in 3.6 possibly caused by the fix for  BUG-000124014. The issue is that repeats with required fields appear as minimal, no longer showing when the relevancy is met. This is critical to one of my client MDOT SHA's most used forms. The use case is, "when rating condition is dire (3,4,or 5), require at least one photo in a repeat." In the past, selecting a dire rating would immediately show the first repeat with all the required fields within it shown. Now, only the minimal-appearance-looking plus-sign shows up. No appearance is set for the repeat. Here's two GIFs showing the before and after conditions.

Before

The required photo appears when the relevancy is met

Before

After

The required fields don't show up and I can submit without validation errors

After

Esri Notable Contributor
Esri Notable Contributor

Elliott Plack‌  Thanks for your comment. I had a preliminary look at this and I confirm that the behavior in 3.6 is different than in previous versions, in that a repeat in 3.6 will show no records if its previous state was non-relevant.  In previous versions, the repeat would show one record (unless the appearance is set to minimal).

You were taking advantage of the pre-3.6 behavior of having one record show in the repeat automatically added when the repeat was relevant. You made questions in the repeat required,forcing users to complete the information in the record that was automatically added. The approach works except if a user deletes the record that was automatically added. Without a record in the repeat, the required flag on the question was useless for your purpose.

I am not negating here that the behavior has changed. This was done to address a number of other issues and we need to discuss internally if more adjustments are needed. We appreciate your note.

Back to your form, I believe that if you need users to submit a photo  within the repeat when the condition is dire, a better approach would be to complement your required repeat questions with a constraint to check that you have at least one repeat record. As shown below:

typenamelabelrequiredconstraint
select_one ratingratingRatingif(${rating}>2,count(${photos})>0,true)
begin repeatphotosPhotos
textcommentCommentyes
imagephotoPhotoyes
end repeat

You could also add a note question with the following relevant expression to warn users about the need to add a photo:

if(${rating}>2,count(${photos})<1,false)

Having the repeat show an empty record like prior to 3.6 was handy, no question, but again we need to discuss internally how  much trouble that would create somewhere else.

Thanks again for your note. 

Regular Contributor

Single choice grid is blowing my mind! I am going to use that immediately. Thanks for the update. Excited about all the bug fixes. Also, I didn't realize I could like your implementation of relevant statements more than I already do, but I think that's what just happened.

Great work, team! Happy Hobbit Day! May Samwise be with you.

Regular Contributor

I can't seem to get the single choice grid to work on a survey with multiple pages (groups with appearance type 'field-list').  I added a group within page 3 of my survey and configured the subsequent questions to be a single choice grid, and the questions don't appear at all in the survey.  When I remove the 'field-list' appearance from my survey making it all one page, the single choice grid works great.  Can you have a 'table-list' group within a 'field-list' group?

Thank you!  Dan

Regular Contributor

Really great updates! I'm eager to implement some of this new functionality like the single choice grids and pictorial list options!

MVP Esteemed Contributor
MVP Esteemed Contributor

Do you have the style set to theme-grid pages?  (and not just theme-grid)

Also be aware that when you go to grid the entire form goes grid.  So you have to set sizes everywhere.  The easiest way is just set to w1 then all questions get their own line.

Regular Contributor

Hi Doug,

  I don't have grid set at all.  I didn't think these question types require a grid theme?  The single choice grid works properly when I remove my 5 page breaks (field-list appearance) and just have a survey with 1 page.  

Thank you,

Dan

Observer

Great features added. I particularly like the "Web form view-only mode".

I tried to open my survey in read only mode using a URL similar to the below:

https://survey123.arcgis.com/share/1cb28b212b5542acbbdbaa35feba0765?mode=view&objectId=10 

While it works for a survey published on my ArcGIS Online account, it doesn't work on a survey published on our PAG.

Is this feature available on PAG?

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Dan,

Unfortunately, there is a limitation in working with the single choice grid and pages - both use the 'field-list' appearance  (for the single choice grid, it's behind the scenes).

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Mounia,

I'm not familiar with what PAG is; that being said, if you are looking at a form that has already been published, you will need to update it to use the current version of the web app.  You can do this by either:

A) Republishing the Survey with the 3.6 version of Survey123 Connect or the website

or

B) In the Survey123, click on the form and then go to Settings. In the 'Version' section, select 'Always use the latest version'

Regular Contributor

"BUG-000118801 An existing secured ArcGIS Server feature service added to ArcGIS Online with credentials saved is not be able to attach images when using the web browser to submit the survey (the data is submitted, but not the attachments)."

I was pleasantly surprised to see this issue fixed with the new update. However, I updated Survey123 and the issue still occurs. When I submit the survey using the web browser, the attachment does not go through. I am getting the "Failed to submit - Object is missing" error. The rest of the survey data submits with no issues.

Any feedback would be appreciated. 

Thank you

Esri Notable Contributor
Esri Notable Contributor

Thanks HEC Admin

We will want to make sure your web form is using the latest version (3.6). Did you publish the survey again? If you did, please open an official Esri Technical Support incident so an analyst can gather further information. This particular bug is a cross-over between ArcGIS Online and Survey123 so we will need to look at the details of your particular case to diagnose properly.

Observer

Thank you James for your reply. By PAG I meant Portal for ArcGIS, our ArcGIS enterprise portal.

Occasional Contributor

Looking forward to diving into some of these new features. I just downloaded and installed the new version (3.6.137) and wanted to play with some of the new options (grid theme, table-list etc) on an existing survey because we'll likely want to incorporate a few of them on it. I created a new survey from the existing one, but when I open the XLSForm, none of the new options are there. I had thought that since I am using the new version of the software, the XLSForm would automatically open with the updated setup but that doesn't seem to be the case. Is there any way I can fix this without recreating the whole thing?

Thanks!

MVP Esteemed Contributor
MVP Esteemed Contributor
Esri Contributor
Esri Contributor

I really liked all these new survey123 options, especially the option of Single choice grid. 

Esri Notable Contributor
Esri Notable Contributor

Hi Tara Boswell‌   If you create a New Survey using the Advanced template, you will see the geotrace and geoshape questions listed in the type column dropdown. The field-list appearance is also present in the appearance column. In the case of theme-grid, you need to manually type it in the style column of the settings spreadsheet.

The new question types and appearances will NOT automatically show in old surveys.  It would be too error prone for us to attempt to update your own spreadsheets.  The link Doug Browning‌ shares above will help you bring contents from your old survey into the new template. Alternatively, you can also add the new question types and appearances into your old form as described in https://community.esri.com/groups/survey123/blog/2019/09/15/survey123-tricks-of-the-trade-microsoft-...  

If you want to see some of these new features in action I recommend you try the Survey123 Connect Samples: "Geotrace and Geoshape" and "Grid Style Groups".

Frequent Contributor

How cool would it be to custom develop 3.6 in AppStudio?

Frequent Contributor

The Range Question Mentioned above is not working as in picture . Could you please tell more details of configuration to look as is in picture 

Esri Esteemed Contributor
Esri Esteemed Contributor

Hello,

We have had other customers respond that the symptom of failure to submit using a proxied page is not working with BUG-000118801 resolved.  Could I ask you to review Survey123: Web Browser "Failed to submit. Hide details - Object is Missing."?  This thread describes the specific error message seen; currently, this has been diagnosed as an issue with the ArcGIS Server.  I would encourage you to open a support ticket with Esri to either troubleshoot if this appears different or add yourself to the bug regarding this specific behavior.

Occasional Contributor

There are some really great updates here! 

1. Is there any way to invert the single choice grid? For example, put the choices vertically on the left and the question label across the top? I have a a couple situations where I have 2-3 questions with the same 10-ish choices, so using a long inverted grid format instead of a wide format would fit better.

2. Will an equivalent single choice grid be available for select_multiple questions in a future release? 

-Erik

Frequent Contributor

Thanks for this update. The scanner functionality is something that has plagued us. We will be deploying 100 tablets in early November. Do you expect any more releases prior to that? I ask because I expect to have to go into each  tablet and uncheck all the scan code types except the one we are using.

Bob

Emerging Contributor

I love the idea of the single choice grid but can't get it to work. I don't have any styles set and am not using field-list. I have a bunch of yes/no select one questions so I started a new group, and in the line of "begin group" I added "table-list" to the appearance. I added a row for each question, then end group - I still don't get the single choice grid format - what am I missing?

Regular Contributor

I'm implementing single choice grid on a new form, which is a checklist style form. It's a perfect fit.

One question comes up. When my list of questions is long, sometimes the user needs to scroll past where the options are visible at the top. In excel, you can set the view to always include that top pane with your column labels. Is there something like that formatting available? That is, I want my select_one choice labels to be visible, not just the radio buttons, for questions that are lower down on my table-list.

Please let me know if I am missing something. Thanks in advance, and still love it, regardless of how this turns out.

Esri Contributor
Esri Contributor

Hello,

I really love all these options but the basemap doesn't work while offline, so I can´t make any report, how can I fix it? 

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Dena,

Just to check, the rows in the group are select_one questions, correct? It should look something like:

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Vijay,

You can find the full description on the range question at Range—Survey123 for ArcGIS | Documentation .  One thing to note is that this question type uses the parameters column, not the bind::EsriSmiley Tonguearameters column.  The example above is produced with:

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Erik,

There isn't a method to create a rotated/inverted layout of the question & choices.

Support for select_multiple is something we are looking into, but don't have a definite release lined up yet.

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Bob,

Thanks for the feedback.  Our next release is planned for after November.  Based on your description, it sounds like you would like to be able to set which encoding to use, correct?

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Mikaila,

Thanks for the feedback- you are correct that if the list of questions is longer than the screen, you can't see the labels for some questions.  As a workaround, you could break up the question into blocks to ensure the header is visible- in most situations we've seen, it's often the case that questions can be grouped into sub-blocks based on what they are asking.

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Karen,

By 'make a report', are you referring to submitting a form entry, or creating a Feature Report?

If form entry, you can still record the device's location using GPS, but to have the user navigate the map while offline, you will need to provide an offline map - see Include a map in your survey—Survey123 for ArcGIS | Documentation 

If the Feature Report service, that is not intended for use while offline.

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi T L,

We will be providing the 3.6 template for AppStudio soon - there have been a couple of issues that have delayed complete finalization.

Frequent Contributor

Yes. Thanks James.

Bob

Frequent Contributor

Thanks!  We appreciate all the Survey123 Teams hard work!

Frequent Contributor

Thanks James

Occasional Contributor

Is there ever going to be an option to allow for email notifications to be sent to an email list when a public user submits a survey online?  I understand there are work arounds for those with server, but that is not an option for us.  I am currently running a macro, three times a day, on a dedicated computer with the single purpose of checking for new records and emailing those records to those that need the information.  This works, but presents it's own hassles.  Thanks!

Esri Esteemed Contributor
Esri Esteemed Contributor
Esri Esteemed Contributor
Esri Esteemed Contributor

The AppStudio templates are now available.

Occasional Contributor

This is good information and I appreciate the response, but we are not able to use webhooks for a variety of security and financial reasons. So I'm still looking for an integrated approach.  

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Erik,

Webhooks can be used with internal resources (you can develop an in-house receiver for the web hook payload to process the data), so that may be a solution if there are concerns with using an external system. In general, this would be preferable for most customers; if Survey123 were to implement an e-mail notification directly, the person receiving the e-mail would receive it from 'survey123 AT arcgis.com' or similar e-mail that may not be directly linkable to you and likely interpreted as spam.

Regular Contributor

Really? If you have Microsoft 365, then Power Automate (which contains Flow) is included. 

I use the webhooks to email certain email addresses with Flow, and the email comes from me (my email address). It costs nothing, and it works perfectly. 

I'm not sure what your limitations are but suggest that you try Flow. Go here and see if it lets you log in: Process Automation with Power Automate | Microsoft Power Apps  

Occasional Contributor

Thanks Mikaila, I can access flow, but our system blocks the database connections required to enable the webhook.

Occasional Contributor

Actually the system is blocking the connection to the email servers when trying to setup the flow. I probably just need to get help from IT.

REST API is not yet supported for this mailbox. This error can occur for sandbox (test) accounts or for accounts that are on a dedicated (on-premise) mail server. 
New Explorer

Ismael ChiviteJames Tedrick

Are the view and edit modes available for surveys that are hosted on an enterprise portal? 

Esri Esteemed Contributor
Esri Esteemed Contributor

Hi Lauren,

Yes, the view and edit modes are available for surveys hosted on enterprise.  That being said, attachments cannot be viewed or edited in the context of the form.

About the Author
Geospatial business analyst and Esri configuration guru