Looking for help with a Send Error in Survey123. You can see the error below, and I've attached the xls form too.
Hi Rachel,
I just had a look at your xslx file and now I see the problem. It appears you are using several geopoint questions all in the same layer, this is not supported. As per ArcGIS feature layers, there can only be one geometry field. Each geopoint question (or geotrace or geoshape) is a geometry field, so you can not have more than one in the same layer.
If you want to use more than one map question (geopoint) to collect data, you need to put them in seperate layers, via a repeat, or you can use the "null" esri field type, so that the question can be used in the survey, but the data/geometry not stored in the feature layer.
Regards,
Phil.
The screenshot of the error doesn't appear to load and/or is just showing a grey circle.
Are you seeing this error in the web app pr field app? Can you confirm the version you are using, and what version on the website is set in the settings? Do you have version locking on? What was last version the survey was published with?
Also did you create this survey with web designed or Connect?
Hi Phil,
Thanks for taking a look.
The error is coming up in the field app (version 3.9.149). In the website settings, version locking is on and was published under version 3.9. The survey was created using Connect.
Attempting to share the error again. Hopefully it comes through this time.
Thanks again,
Rachel
Are you using AGO or Enterprise, if Enterprise what version of Portal and how is it configured?
How did you create and publish the feature service, was it existing or new? If existing how was it created? It seems something is wrong with the geometry for the feature layer?
Have you ever been able to submit a survey to this feature layer from the field app?
I am using AGO. This is the first survey I've ever created and it's a new feature service, and I've never been able to submit a field survey.
-Rachel
I was beginning to think that was the issue when you mentioned something was wrong with the geometry, and that make perfect sense. I'll follow your recommendation for the null esri field type.
Thank you for all your time and help.
I'm having a similar issue with my own survey, however, the bind::esri:fieldType is set to null for all but 1 of the 4 total geometry types in my survey (3 outside of a repeat, 1 inside a repeat). The geometry question that I have without null as the fieldtype is a polygon type (geoshape) outside of the repeat. Could you share what you think may be going on here? I am still getting the same error as described above.
Leigh
Hi @Anonymous User,
Similar to 'leightmaes' question below. I have a survey with multiple geopoint questions but all but one having "null" in the bind::esri:fieldType column but when I try to submit a survey I receive the following error "No mapping exists from object type ESRI.ArcGIS.Client.Geometry.MapPoint to a known managed provider native type."
Any idea why this might be occuring?
Cheers
Hi @JamesBailey,
When you published the survey, was the first geopoint question null field type? In that case did it create a table only, not a layer, meaning there is no geometry?
You can check the schema in Connect and the Schema tab, so see if it is a table or layer. It sounds as though you have a table, but are trying to send geometry via the geopoint to the table.
Hi Philip,
I created the survey with two geopoints and one geotrace. The geopoints are not stored (null field type), they are used as start- and endpoint of the geotrace. In connect I see that a table is created, not a layer.
If I move the geotrace question above the point questions, a layer is created. But, I need it to come after the geopoints.
So, how can I do that? How can I "force" survey Connect to create a layer even if my first geopoint question is a null field type?
Tom
Hi @TomDe_Leus1,
Depending on the type of layer you want (geopoint, geotrace, geoshape) put that question first in the survey for that parent or repeat, so that Connect creates the layer with that geometry. After the first successful publish and creation of layer with correct geometry, you can move the null geopoint questions above the geoshape in the XLSForm. When you publish the survey the second time with new order, it will not change the geometry but the other of the questions in the survey form will reflect the new order.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.