Hello everyone. This issue appears intermittently. I have a Survey123 Connect XLSform using pulldata() that requests a value from a feature layer hosted on my ArcGIS Portal. The survey is hosted in my ArcGIS Online organization. Pulldata() is requesting values from the feature layer when the survey input falls inside a corresponding polygon.
While testing the survey and reviewing the results, I've noticed that sometimes the fields using the pulldata() function remain null instead of pulling the value. There hasn't been a solution I've found to explain or fix this. As first I thought the survey was completing too quickly for the values to pull from my Portal feature layer. So I entered multiple surveys quickly and got good results. The survey field is visible and I can see when pulldata() works and when it doesn't.
This project requires a Python script to process data server side. My thought is to add a catch to the Python which looks for null records, then use a MakeFeatureLayer, SelectLayerByLocation, and CalculateField to fill in the gaps. I'd rather not do that as it defeats the purpose of the pulldata().
Any advice is greatly appreciated.
pulldata("@layer", "getValueAt", "attributes.Subarea", "https://gis.____________.org/arcgis/rest/services/Administrative/EnvCode_Enforcement_Subareas/Featur...", ${Report_It_point}) |
This problem just started today for us, could it have anything to do with the Esri update this week? Has this always been an intermittent issue for you?