<?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 to format the results of the IdentifyTask programatically in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-format-the-results-of-the-identifytask/m-p/124425#M11591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Identify always returns all attributes...see:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/identify.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/identify.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could not expose certain fields in your map service but that's probably not ideal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the aliases, take a look at this post:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/7793-Identify-How-to-show-Alias-filed-instead-of-Field-Name?p=24158&amp;amp;viewfull=1#post24158"&gt;http://forums.arcgis.com/threads/7793-Identify-How-to-show-Alias-filed-instead-of-Field-Name?p=24158&amp;amp;viewfull=1#post24158&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 05:23:50 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2011-07-26T05:23:50Z</dc:date>
    <item>
      <title>How to format the results of the IdentifyTask programatically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-format-the-results-of-the-identifytask/m-p/124424#M11590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;IdentifyTask&lt;/SPAN&gt;&lt;SPAN&gt;, is it possible to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) control which attributes will be returned?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) show aliases instead of field names?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I can see, the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;IdentifyResults &lt;/SPAN&gt;&lt;SPAN&gt;contain all attributes of the feature, and do not contain the aliases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to make a generic Identify tool, which will work on all layers without hard-coding the attributes and aliases. For this to work, I need to be able to specify which attributes to display, and to access their aliases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/identifyparameters.htm"&gt;IdentifyParameters&lt;/A&gt;&lt;SPAN&gt; can work across multiple layers, it doesn't have the option to specify which layers should be returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any options which would allow a generic Identify tool to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 23:03:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-format-the-results-of-the-identifytask/m-p/124424#M11590</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-07-25T23:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to format the results of the IdentifyTask programatically</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-format-the-results-of-the-identifytask/m-p/124425#M11591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Identify always returns all attributes...see:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/identify.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/identify.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could not expose certain fields in your map service but that's probably not ideal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the aliases, take a look at this post:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/7793-Identify-How-to-show-Alias-filed-instead-of-Field-Name?p=24158&amp;amp;viewfull=1#post24158"&gt;http://forums.arcgis.com/threads/7793-Identify-How-to-show-Alias-filed-instead-of-Field-Name?p=24158&amp;amp;viewfull=1#post24158&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 05:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-format-the-results-of-the-identifytask/m-p/124425#M11591</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-07-26T05:23:50Z</dc:date>
    </item>
  </channel>
</rss>

