<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I get Identify to display attributes on Spatial View? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-can-i-get-identify-to-display-attributes-on/m-p/242512#M5722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Travis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 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:&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The name element specifies the EXACT name of the layer as it is displayed in the REST services&lt;BR /&gt;directory.&lt;BR /&gt;The &lt;SPAN style="color:#ff0000;"&gt;fields&lt;/SPAN&gt; parent element contains all the individual &lt;SPAN style="color:#ff0000;"&gt;field&lt;/SPAN&gt; child elements that will be used for this&lt;BR /&gt;particular layer. Everything for the field element is specified as an attribute of the element. The name&lt;BR /&gt;attribute is the EXACT &lt;STRONG&gt;ALIAS&lt;/STRONG&gt; (as it is displayed in the REST services directory) of the field and is a&lt;BR /&gt;REQUIRED attribute.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW all Flex Viewer and/or widget questions belong in the Flex Viewer forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2012 16:34:22 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-09-20T16:34:22Z</dc:date>
    <item>
      <title>How can I get Identify to display attributes on Spatial View?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-can-i-get-identify-to-display-attributes-on/m-p/242511#M5721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone possibly have any suggestions on how to get this to work? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Travis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 16:14:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-can-i-get-identify-to-display-attributes-on/m-p/242511#M5721</guid>
      <dc:creator>TravisSmith</dc:creator>
      <dc:date>2012-09-20T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get Identify to display attributes on Spatial View?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-can-i-get-identify-to-display-attributes-on/m-p/242512#M5722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Travis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; 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:&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The name element specifies the EXACT name of the layer as it is displayed in the REST services&lt;BR /&gt;directory.&lt;BR /&gt;The &lt;SPAN style="color:#ff0000;"&gt;fields&lt;/SPAN&gt; parent element contains all the individual &lt;SPAN style="color:#ff0000;"&gt;field&lt;/SPAN&gt; child elements that will be used for this&lt;BR /&gt;particular layer. Everything for the field element is specified as an attribute of the element. The name&lt;BR /&gt;attribute is the EXACT &lt;STRONG&gt;ALIAS&lt;/STRONG&gt; (as it is displayed in the REST services directory) of the field and is a&lt;BR /&gt;REQUIRED attribute.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW all Flex Viewer and/or widget questions belong in the Flex Viewer forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 16:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-can-i-get-identify-to-display-attributes-on/m-p/242512#M5722</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-20T16:34:22Z</dc:date>
    </item>
  </channel>
</rss>

