Feature Attribute shows N/A when NOT NULL
We have an issue with a Feature attribute showing as N/A in the viewer event though the feature has data in the column. The map service end point is returning a value for the column, but the viewer is displaying N/A. This is especially frustrating as we need the value in this column to make a feature hyperlink work. The field is configured to be visible and searchable.
I'm seeing this happen in multiple sites using different map services referencing the same featureclass. In all cases, the map service end points return a value, but the various viewers all show N/A in the front end for this column.
What would cause the front end to not display a value returned by the map service end point?
-
Has the map service changed at all? Perhaps column name format or capitalization?
Would you be able to attach a screenshot of the JSON retrieved for a specific feature and it's fields (use fidder on the client), what it looks like in the viewer's data table, and also how the layer's fields are defined on the ArcGIS and Geocortex rest endpoints? I want to see that both the JSON and the rest endpoint match in terms of how field names are defined and also that there is data coming through in the request for the N/A values.
-Kevin
Edit: An easy test would be creating a new site, adding the mapservice, a viewer and then perform an identify on a feature.
0 -
I figured out wat was confusing me. The initial display of the parcel feature was the result of a Query Task in a workflow, not an Identify. Once I performed an actual Identify operation, the values appeared.
I needed to define the Out Fields on the Query task in the workflow to include the column in question. Now the values display as expected.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare