I just published a survey from Connect and when I tried to open it in my web browser this is what I get. Everything seemed to be working fine in Connect, so I don't know why this would happen. Anybody know? Attached is my xls form.
Edited to add that the survey works just fine when accessed from the app. It just doesn't work in the web browser.
Please can you retest this survey after clearing your browser cache - I believe this issue was fixed in the last release. See the published version of your survey: https://survey123.arcgis.com/share/ac9c8bb3958c4fbe98ecb0c0fe49b7f1 which is working for me.
Is there another work around for this? I have tried clearing my cache and I am still getting this error.
Im getting the same error when I try to open the survey in a browser..
Mira,
I figured out that the style formatting was what was causing this error for me. Survey123 did not like that I used the shortened hexcode #444 instead of the full #444444 code. Once I fixed that, the survey was able to be accessed just fine. I would definitely go over your styles and see if that has anything to do with it.
Dear Alexander,
thank you for your fast reply...
Actually, I did not change anything with the style ...
We are also getting a version of this error when using a browser (Chrome and Explorer), but not when using the App.
"Failed to submit - Cannot set property 'z' of null".
We have cleared our cache and restored the stock style formatting, but this did not resolve the issue.
FYI: The feature layer we based our form on is a related table to a point feature layer. Neither the related table, nor the parent point feature layer have Z values enabled. There is not a geopoint question in the form. The only question in the form that points to a field in the parent (point) feature layer is a hidden field for the GUID that the relate is based on.
Hi Joe,
This error sounds different than the one described in the rest of this post. Can you file an Esri Support ticket to troubleshoot this?
Hi Joe Bryant, did you find a solution to this with ESRI Support? I'm experiencing the same issue.
We're still working on it. My guess was that this was being caused by Survey123 not managing the relationship between the submitted record and the related point feature class. If submitted using the app, all the data except for the calculated GUID (used for the relationship) and the link/relationship itself is getting populated. We have followed James' other post on formatting the GUID (https://community.esri.com/thread/208613-pass-global-id-from-collector-to-g ), and can see the correctly formatted string value in a notes field in the form. However, the feature service is not accepting/storing this string currently. Once we fix this issue, I will see if the browser issue is resolved.
Thanks for the quick reply! I'm trying to get the Election Management solution to work, and upon closer inspection, looks like the metrics table doesn't actually have a relationship with the feature layer so I guess my situation is a little different. Upon deployment, the form works. Republishing from Connect without even tweaking the xls form causes the form to get the Cannot set property 'z' of null" error in the web version. I'll report back if I figure anything out.
From our tests it seems that editing an existing record in the Survey123 Browser doesnt work when there is a repeat in the survey. Is this currently not supported James Tedrick ?
Hi Deon,
In particular, forms with values in the bind::Esri:Parameters (often the case for editing with repeats) are not yet supported in the web form.
Update: ESRI Support has officially logged this as a bug:
#BUG-000126543 Submitting a survey from Survey123 for ArcGIS (website) would give a "Failed to submit -Cannot set property 'z' of null" if survey with related tables that was made from a Hosted Feature Service and a Feature Service from ArcGIS Server was published from Survey123 Connect version 3.6.137
The best workaround for submitting in a browser is as Chelsea suggests below: use a URL parameter to open the Survey in the 3.3 Version.
(I assume we should move this thread to a separate post for others who are searching for a solution. But I'm not sure how to do that.)
Hi @JamesTedrick as additional info I'm using version 3.15 but was getting the Error: Initializing form... Cannot read properties of null (reading '0') error when attempting to access a survey via the browser. Removing a repeat resolved this....
@JamesTedrick @ahargreaves_FW Has there been an update to this to allow for repeats in the web browser?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.