<?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: Dynamically applying query def on a layer for the webmap in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873396#M13087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions. However, feature layer is too slow to render on the map.. and it is requesting multiple requests to the server with different extents which affects the performance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2018 20:22:40 GMT</pubDate>
    <dc:creator>VenkataSrikanthDasari</dc:creator>
    <dc:date>2018-08-10T20:22:40Z</dc:date>
    <item>
      <title>Dynamically applying query def on a layer for the webmap</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873392#M13083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to apply a long query on the layer of a web map in javascript.. Need help on this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i apply filter with more than 300 conditions then layer is not working at all for query or anything else..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;searchLayer._defnExpr='' //More than 4000 conditions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Srikanth Dasari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 19:18:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873392#M13083</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-06-22T19:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically applying query def on a layer for the webmap</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873393#M13084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it 300 conditions for one field? If so are you using the "IN" operator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jun 2018 23:39:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873393#M13084</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-06-24T23:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically applying query def on a layer for the webmap</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873394#M13085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the immediate response.. what is the limit if we use IN operator??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 19:53:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873394#M13085</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-06-26T19:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically applying query def on a layer for the webmap</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873395#M13086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The limit for Oracle is 1000. I think SQL Server is in the tens of thousands (less than 60,000). I did see an interesting workaround by just splitting it up into two IN clauses:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;Where&lt;/SPAN&gt; Col &lt;SPAN class="operator token"&gt;IN&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;123&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1234&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;222&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;or&lt;/SPAN&gt; Col &lt;SPAN class="operator token"&gt;IN&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;456&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;878&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;888&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have thousands of values, you might consider just making a table for comparison.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;Where&lt;/SPAN&gt; Col &lt;SPAN class="operator token"&gt;IN&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;Select&lt;/SPAN&gt; val_col &lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; values_table&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873395#M13086</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2021-12-12T10:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically applying query def on a layer for the webmap</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873396#M13087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions. However, feature layer is too slow to render on the map.. and it is requesting multiple requests to the server with different extents which affects the performance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 20:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/dynamically-applying-query-def-on-a-layer-for-the/m-p/873396#M13087</guid>
      <dc:creator>VenkataSrikanthDasari</dc:creator>
      <dc:date>2018-08-10T20:22:40Z</dc:date>
    </item>
  </channel>
</rss>

