Select to view content in your preferred language

Generated Note Causing Publishing Issue

282
12
3 weeks ago
PaulLefaive2
Emerging Contributor

Hi Everyone,

I'm using Survey123 Connect v3.22.49 to publish a lengthy form XLSForm to ArcGIS Online.

My XLSForm, although long, is quite simple, it contains a series of groups (collapsible sections) and no repeats. I've published the form successfully and all appears to be working and I'm able to view, use, and submit on the web version.

However, I further wanted to customize the form by leveraging 'generated_notes_prompt_submitted' in my XLSForm and thats when problems arose. I'd like to customize the post submission screen however when I add the generated note to do this it "breaks my form" in survey123 connect (preceding questions not behaving correctly) and when I try to publish it gets stuck on 'Checking Feature Service' and just hangs to the point that I have to close Survey123 connect and re-launch.

It's strange because I have another form where I have this working with no issue at all.

Anyone run into this issue? Or found a workaround/solution?

Thanks,

Paul

0 Kudos
12 Replies
DougBrowning
MVP Esteemed Contributor

Often it is because the note is over 255 chars.  Set the bind::esri:fieldLength column to something big like 1,000.  Also you can set bind::esri:fieldType to null then it will not make the field in the service if you do not need it.

0 Kudos
PaulLefaive2
Emerging Contributor

Thanks for your input @DougBrowning . I tried what you had suggested (increase field length and type set to null) and unfortunately the issue is still persisting despite the changes to the XLSForm. I'll continue testing to see what else it could be. Appreciate you taking the time propose an idea.

0 Kudos
PaulLefaive2
Emerging Contributor

Just wanted to flag an additional detail here that is odd:

When I add the note - 'generated_note_prompt_submitted' at the end of my XLSForm and save it, for some reason in Survey123 connect the Schema tab section becomes empty as if Survey123 connect can no longer read the XLS file and its question fields.

Not sure if this behavior offers any clues as to what could be happening.

0 Kudos
DougBrowning
MVP Esteemed Contributor

You are near the 31 char limit for field names but should be ok.  Maybe try shorter then I am not sure.  Unless you got a formula in there or the copy paste went wrong.  Maybe try a new form.

0 Kudos
PaulLefaive2
Emerging Contributor

@DougBrowning I just did a re-install of Survey123 Connect and created a new form from scratch and added a handful of form questions including a 'generated_note_prompt_submitted' at the very end and still experiencing the issue. Given this I submitted an Esri support case so they can take a look. Will post the solution if one is found working with Esri support.

0 Kudos
PaulLefaive2
Emerging Contributor

Just an update on what appears to be causing the issue:

A 'generated_note_prompt_submitted' note in Survey123 Connect which is used to customize the "Thank You" page following submission doesn't appear to work with XLForm styles outside of the default style (left blank) or the Pages Style. It doesn't appear to work with Fixed and Dynamic Grid styles unfortunately.

Web Designer does allow for modifying the Thank You page however I'd like to display calculated values from the form and present them to the user upon submission (ex. case id number).

I haven't found a solution or workaround yet but thought I'd post the cause of the issue.

0 Kudos
DougBrowning
MVP Esteemed Contributor

Web forms do not support Grid at all could be why.

0 Kudos
PaulLefaive2
Emerging Contributor

@DougBrowning in the November 2024 Survey123 update Esri announced Grid Layout Support in Survey123 Web (What’s new in ArcGIS Survey123 (November 2024) - Esri Community). I've actually been publishing grid forms configured in Survey123 Connect and the grid layout works well in the web form. However, it appears the grid layout and generated_notes don't work well together.

0 Kudos
DougBrowning
MVP Esteemed Contributor

I thought so also but my form does not work.  It just ignores the grid in the web works in connect.  It is a summary page of note fields though.  Tried a bunch of options but no love in the grid in the web from.

0 Kudos