<?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: Multiple Definition Queries on the same Data Source in MXD - still the way to go? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/multiple-definition-queries-on-the-same-data/m-p/111936#M5298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Support for multiple definition queries associated with a layer is only available in Pro (starting 2.3 release). When you have a layer with multi def queries, you can switch between them -- and you will know only one def query or none can be active at any given moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;But I don't think there is a way to publish that out to a service.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's correct. When you publish that as a map service, only the active def query (or none) get carried over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;How about definition queries at the web level? JSAPI allows overriding feature symbology and offers a def query feature, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;yes, that works. Instead of publishing a map service with dozens of layers (off the same source with different def queries), you can publish only one layer and set the def query at the web level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per symbology - not all renderer types and symbols are supported on the web level. Pls check that out first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Has anyone looked at how that performs compared to using a definition queries as described above?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;performance should be on par with what you see in ArcGIS Pro or ArcMap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2019 00:08:18 GMT</pubDate>
    <dc:creator>TanuHoque</dc:creator>
    <dc:date>2019-02-07T00:08:18Z</dc:date>
    <item>
      <title>Multiple Definition Queries on the same Data Source in MXD - still the way to go?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/multiple-definition-queries-on-the-same-data/m-p/111935#M5297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently in the process of re-publishing a number of map services to ArcGIS Server. Some of these make extensive use of definition queries on multiple instances of the same datasource. In a simple example, a feature class of oil &amp;amp; gas leases may be the source for multiple layers in the MXD, each with have a definition query on expiration date, to symbolize with different color by Q1, Q2, Q3... of a given year. Other scenarios may have dozens of layers using the same data source with a def query.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Is it that (still) the best way to do it? &lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I remember seeing that ArcGIS Pro offers functionality for using multiple definition queries on a layer/data source that can be selected (turned on/off). But I don't think there is a way to publish that out to a service.&lt;/P&gt;&lt;P&gt;How about definition queries at the web level? JSAPI allows overriding feature symbology and offers a def query feature, right? Has anyone looked at how that performs compared to using a definition queries as described above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 23:26:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/multiple-definition-queries-on-the-same-data/m-p/111935#M5297</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-02-06T23:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition Queries on the same Data Source in MXD - still the way to go?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/multiple-definition-queries-on-the-same-data/m-p/111936#M5298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Support for multiple definition queries associated with a layer is only available in Pro (starting 2.3 release). When you have a layer with multi def queries, you can switch between them -- and you will know only one def query or none can be active at any given moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;But I don't think there is a way to publish that out to a service.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's correct. When you publish that as a map service, only the active def query (or none) get carried over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;How about definition queries at the web level? JSAPI allows overriding feature symbology and offers a def query feature, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;yes, that works. Instead of publishing a map service with dozens of layers (off the same source with different def queries), you can publish only one layer and set the def query at the web level.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per symbology - not all renderer types and symbols are supported on the web level. Pls check that out first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Has anyone looked at how that performs compared to using a definition queries as described above?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;performance should be on par with what you see in ArcGIS Pro or ArcMap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 00:08:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/multiple-definition-queries-on-the-same-data/m-p/111936#M5298</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2019-02-07T00:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition Queries on the same Data Source in MXD - still the way to go?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/multiple-definition-queries-on-the-same-data/m-p/111937#M5299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great information, Tanu. Thanks for sharing,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 15:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/multiple-definition-queries-on-the-same-data/m-p/111937#M5299</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-02-07T15:51:30Z</dc:date>
    </item>
  </channel>
</rss>

