Hey all,
I'm running into an issue using Field Maps offline, specifically with a Form for a point feature layer called "transect_plot"; I'm getting an error saying "The form contains unsupported data".
I'll add more detail below, but what I'm having a hard time understanding right now is that I have 3 offline areas defined. In two of those areas, I can add and update a "transect_plot" point; in one of those areas, I see the error and can't add any data. Again this is with the same layer, different offline areas.
My process for creating the layer/form is as follows.
I created the layer in AGOL, created a new map and added the layer to it, then opened the map in Field Maps Designer, and navigated to the Form builder. From here I progressively added Form elements, testing successfully part way through with the offline app on my phone. I continued to add more fields (text, whole integers, doubles, and combo box with an uploaded CSV with ~66 options for different tree species), tested again offline at which point the error appeared.
Hi @CreatorCathroLtd. Have you checked the logs when you run into this error (Profile>Troubleshooting>View Logs)? This could potentially tell you which layer is causing the issue in the map. And just to clarify, you created offline areas successfully, then added some more layers to your map and tried to create another offline area and that's when you started seeing the error, is that correct?
Thanks for the response!
There is only one layer in the map. It wasn't totally clear when/how the errors were appearing in the offline maps, it seemed somewhat sporadic. However I think the issue was because I was not "recreating" the offline areas as I updated my form/layer schema. As such, offline areas created before I updated my form stopped working, but a newly created offline area did work.
@CreatorCathroLtd If you take a map offline and then make form/schema changes, that will cause issues when trying to sync back, since the online and offline schemas no longer match. If you need to make any form/schema changes, first sync your offline maps and then remove the offline maps from your device(s). Then make your changes and download a new offline map.
Have you seen the following community post, a user encountered the same error as yourself:
Check your form field for reserved words like Shape_length, Shape_area, or common database words like DELETE etc.
What is the datatype of the field and has this changed?
Thanks for the response!
I did see that post yes, the only field that seemed potentially problematic was one in which I was trying to capture x and y values using a calculated expression. However I removed those fields from the form and still encountered problems.
I think the issue was because I was not "recreating" the offline areas as I updated my form/layer schema. As such, offline areas created before I updated my form stopped working, but a newly created offline area did work.