Select to view content in your preferred language

How can I get Identify to display attributes on Spatial View?

612
1
09-20-2012 09:14 AM
TravisSmith
Emerging Contributor
I created an MXD (in ArcGIS 10.0.1) containing a polygon Spatial View (SDE/SQL Server) which contains a table join. I then published it as a service using ArcGIS Server Manager. I then created a Flex application using the Flex Viewer and Identify Widget.

When I open my Flex application, I am able to see the Spatial View polygons. However, when I attempt to click/select any of the polygons using the Identify tool, it doesn't work. No attributes, no table opens, nothing...

Does anyone possibly have any suggestions on how to get this to work?

Thank you,
Travis
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Travis,

   I have never tested with spatial views..., but lets assume they work and that you are encountering the usual configuration issue that hangs people up with the identify widget. When you go to the REST Services directory for this map service looks for the ALIAS field names and those are what must be used in the IdentifyWidget.xml for the layers field names. Also the layer name in the xml has to be identical to what is shown in the REST Service directory as well. Quote direct from the documentation:
The name element specifies the EXACT name of the layer as it is displayed in the REST services
directory.
The fields parent element contains all the individual field child elements that will be used for this
particular layer. Everything for the field element is specified as an attribute of the element. The name
attribute is the EXACT ALIAS (as it is displayed in the REST services directory) of the field and is a
REQUIRED attribute.


BTW all Flex Viewer and/or widget questions belong in the Flex Viewer forum:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex
0 Kudos