I have a survey embedded in a dashboard. The survey is using the mode=edit URL param to allow users to edit two fields of a selected feature. The survey loads correctly and as users select a new feature in the dashboard, the survey updates correctly. However, if they try to edit the values in the survey, the following error displays:
Nothing appears in the console or in the network tab so I am not sure what else to troubleshoot.
I tested that I could edit existing data by enabling the Inbox feature and editing the fields through the field app. This all works just fine. Is there anything else I can do to figure out why the web survey is not working?
Hi Chris,
Just to check, your form does not have repeat sections (which are not yet supported)?
It would be helpful if you could share your form's design (XLS file).
Hi James,
No repeats, simply two questions.
type | name | label |
text | AVATAR | Avatar Link: |
text | HANDLE | Username / Handle: |
The only potential "gotcha" is I want to edit an existing secured feature service:
form_title | form_id | instance_name | submission_url |
EOM_2019_Data | GISinc Owners | https://gisi.maps.arcgis.com/sharing/rest/content/items/0020e97c344e4fbb881264969035d9e6 |
Not sure where the hiccup is.
Thanks,
Chris
I noticed that the field app specifies the globalid in the applyEdits call. Do I need to have the globalid in the form as well?
Hi Chris,
The global is stored internally and should not be in the form itself. Given that are using an existing feature service, is there anything unusual about its configuration? Is the layer being edited layer 0?
No, it is index 1.
I updated my service to make it index 0 but no change.
Have you tried taking that / out of the label field. Special chars can cause weird errors. Just a guess.