<?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: Help with Identify Task in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234850#M21873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! Seems like that works. Maybe the terminology should be changed though...changing it to VISIBLE, to me, seems like it should work on all layers that are seen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 14:09:50 GMT</pubDate>
    <dc:creator>JessicaKnight1</dc:creator>
    <dc:date>2012-08-28T14:09:50Z</dc:date>
    <item>
      <title>Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234841#M21864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the Identify task working with my data via a sample (I added my map service into the sample to test things), but when I try to add the Identify task to my existing code, I can't get the popup window to work correctly. I get text in the top left of my map window, but you can't really see all of it. Any idea what I'm doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached my code if someone can take a look. I used this sample: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/find_popup.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/find_popup.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 17:38:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234841#M21864</guid>
      <dc:creator>JessicaKnight1</dc:creator>
      <dc:date>2012-08-23T17:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234842#M21865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you need to add the popup.css file in your page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.8/js/esri/dijit/css/Popup.css"&amp;gt; 
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, I added it in your sample it shows up correctly now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:51:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234842#M21865</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-12-11T11:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234843#M21866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect. Thanks. I knew it had to be something simple. Sometimes just helps to have another set of eyes on it to see it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 18:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234843#M21866</guid>
      <dc:creator>JessicaKnight1</dc:creator>
      <dc:date>2012-08-23T18:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234844#M21867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another issue I'm having is that it won't identify my point data. It seems to only highlight and identify my county layer. Even after I take the county layer out of the task, it won't identify the point and highlights the county. Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 18:56:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234844#M21867</guid>
      <dc:creator>JessicaKnight1</dc:creator>
      <dc:date>2012-08-23T18:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234845#M21868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think because you have some of the layers in your MXD turned off if you change your code to this in the Identify Parameters it should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;identifyParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_ALL;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2012 21:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234845#M21868</guid>
      <dc:creator>VernWolfley</dc:creator>
      <dc:date>2012-08-23T21:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234846#M21869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Even when I turn on the layers, it won't identify them. And it doesn't seem to want to if I do the ALL option either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 12:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234846#M21869</guid>
      <dc:creator>JessicaKnight1</dc:creator>
      <dc:date>2012-08-24T12:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234847#M21870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone? I want to be able to identify my point data!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 12:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234847#M21870</guid>
      <dc:creator>JessicaKnight1</dc:creator>
      <dc:date>2012-08-27T12:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234848#M21871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jessica,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This thread might help you&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/59247-URL-Parameters-Sample-(Polygons-vs.-Points)"&gt;http://forums.arcgis.com/threads/59247-URL-Parameters-Sample-(Polygons-vs.-Points)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and you can also have a look at this&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/xV8bh/"&gt;http://jsfiddle.net/xV8bh/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 13:12:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234848#M21871</guid>
      <dc:creator>PramodHarithsa1</dc:creator>
      <dc:date>2012-08-27T13:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234849#M21872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jessica, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;wolfley is right, change esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE in esri.tasks.IdentifyParameters.LAYER_OPTION_ALL and your sample works correctly. You have some layer turned off in your mxd because when you load the page some checkboxes in the TOC are unchecked. You cant identify all the layers that are not initially checked. All points are unchecked as you can see.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The esri.tasks.IdentifyParameters.LAYER_OPTION_VISIBLE option does not use the current visibility in the viewer but uses the visibility in the mxd, so you should use the LAYER_OPTION_ALL option to identify both visible and unvisible layers. If you want to identify only the sublayers currently visible in the viewer u have to save an array with the ids of visible layers every time you change the toc and then pass that array to the identiy task through the layerIds parameter (Class: IdentifyParameters).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Davide&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 14:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234849#M21872</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-08-27T14:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234850#M21873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! Seems like that works. Maybe the terminology should be changed though...changing it to VISIBLE, to me, seems like it should work on all layers that are seen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 14:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234850#M21873</guid>
      <dc:creator>JessicaKnight1</dc:creator>
      <dc:date>2012-08-28T14:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Identify Task</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234851#M21874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it can be misleading but if you use firebug and look at the net panel you can see that the parameter that you pass to the server when you execute an identify task is 'layers=all' or 'layers=visible'. So it is clear that your server cannot know which layers are currently visible in your client. So it is obvious that it takes the visibility of layers in your mxd.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Give points to thank better &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Davide&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 14:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-identify-task/m-p/234851#M21874</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-08-28T14:29:56Z</dc:date>
    </item>
  </channel>
</rss>

