<?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 Find Task Layer defs. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-layer-defs/m-p/427793#M39328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having trouble using the Layer Definitions parameter within a find task.&amp;nbsp; My problem is that the job doesn't seem to be filtering by the layer defs.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example (using the Rest page) in the Search Text I put "United States", as a layer def I put 0:ADMIN1 ='Minnesota'.&amp;nbsp; I am still getting back all of the features that have the text "United States" in it whether or not 'Minnesota' is the value in the ADMIN1 field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe this is the way Layer Definitions are supposed to work but perhaps I am mistaken?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 19:25:45 GMT</pubDate>
    <dc:creator>TonyMonsour</dc:creator>
    <dc:date>2011-08-24T19:25:45Z</dc:date>
    <item>
      <title>Find Task Layer defs.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-layer-defs/m-p/427793#M39328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having trouble using the Layer Definitions parameter within a find task.&amp;nbsp; My problem is that the job doesn't seem to be filtering by the layer defs.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example (using the Rest page) in the Search Text I put "United States", as a layer def I put 0:ADMIN1 ='Minnesota'.&amp;nbsp; I am still getting back all of the features that have the text "United States" in it whether or not 'Minnesota' is the value in the ADMIN1 field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe this is the way Layer Definitions are supposed to work but perhaps I am mistaken?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 19:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-layer-defs/m-p/427793#M39328</guid>
      <dc:creator>TonyMonsour</dc:creator>
      <dc:date>2011-08-24T19:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Find Task Layer defs.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-layer-defs/m-p/427794#M39329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That should be working...I'm not sure exactly what's going wrong. Here are two URLs hitting services on sampleserver1.arcgisonline.com:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-find counties named "Delaware" in Indiana using layer definitions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/find?searchText=Delaware&amp;amp;contains=true&amp;amp;searchFields=&amp;amp;sr=&amp;amp;layers=3&amp;amp;layerdefs=3%3A+STATE_NAME+%3D+%27Indiana%27&amp;amp;returnGeometry=false&amp;amp;maxAllowableOffset=&amp;amp;f=HTML"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/find?searchText=Delaware&amp;amp;contains=true&amp;amp;searchFields=&amp;amp;sr=&amp;amp;layers=3&amp;amp;layerdefs=3%3A+STATE_NAME+%3D+%27Indiana%27&amp;amp;returnGeometry=false&amp;amp;maxAllowableOffset=&amp;amp;f=HTML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-find any county named "Delaware" in the course counties layer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/find?searchText=Delaware&amp;amp;contains=true&amp;amp;searchFields=&amp;amp;sr=&amp;amp;layers=3&amp;amp;layerdefs=&amp;amp;returnGeometry=false&amp;amp;maxAllowableOffset=&amp;amp;f=HTML"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/find?searchText=Delaware&amp;amp;contains=true&amp;amp;searchFields=&amp;amp;sr=&amp;amp;layers=3&amp;amp;layerdefs=&amp;amp;returnGeometry=false&amp;amp;maxAllowableOffset=&amp;amp;f=HTML&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 20:44:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/find-task-layer-defs/m-p/427794#M39329</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-08-24T20:44:32Z</dc:date>
    </item>
  </channel>
</rss>

