<?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 with multiple popups in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459095#M13027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;okay so the best way around this would be to republish the service with a separate layer showing each ward (using a definition query) in the .mxd (Ward 1, Ward 2 etc). Then when doing the sublayers, call each sublayer by the new id number?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2014 16:51:29 GMT</pubDate>
    <dc:creator>TylerDunn2</dc:creator>
    <dc:date>2014-04-10T16:51:29Z</dc:date>
    <item>
      <title>Multiple definition queries with multiple popups</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459091#M13023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just curious if anyone has a solution to my issue. I'm making a Wards map for my city and I'm trying to do it using 2 different sets of Wards; Wards_Top (35% transparency, turns off at 20,001) and Wards_Bottom (80% transparency, turns on at 20,000). For each Ward I have a separate popup config. When I try running this as a dynamic service with a definition in the &amp;lt;sublayer&amp;gt;, it will only read the first definition and not the others (example, when I open the map, only Ward 4 shows, none of the others). Anyone have a suggestions besides coding in the layers 4 times? I'd like to keep the TOC and legend uncluttered and make the whole layer on/off able. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an example of the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;layer label="Wards" type ="dynamic" visible="true" alpha="0.65"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://gis.cityofthornton.net/arcgis/rest/services/Webmaps/Wards_Top/MapServer" rel="nofollow" target="_blank"&gt;https://gis.cityofthornton.net/arcgis/rest/services/Webmaps/Wards_Top/MapServer&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 1" popupconfig="popups/PopUp_Ward1.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 2" popupconfig="popups/PopUp_Ward2.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 3" popupconfig="popups/PopUp_Ward3.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 4" popupconfig="popups/PopUp_Ward4.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/layer&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;layer label="Wards" type ="dynamic" visible="true" alpha="0.20"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://gis.cityofthornton.net/arcgis/rest/services/Webmaps/Wards_Bottom/MapServer" rel="nofollow" target="_blank"&gt;https://gis.cityofthornton.net/arcgis/rest/services/Webmaps/Wards_Bottom/MapServer&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 1" popupconfig="popups/PopUp_Ward1.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 2" popupconfig="popups/PopUp_Ward2.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 3" popupconfig="popups/PopUp_Ward3.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" definitionexpression="WARD = 4" popupconfig="popups/PopUp_Ward4.xml"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/layer&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 14:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459091#M13023</guid>
      <dc:creator>TylerDunn2</dc:creator>
      <dc:date>2014-04-10T14:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple definition queries with multiple popups</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459092#M13024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tyler,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Why are all your sublayer ids zero?.. Sublayer are for setting certain properties like popups for specific sublayers in a map service based in the id number corresponding with the sublayer id of the map service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 16:38:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459092#M13024</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-04-10T16:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple definition queries with multiple popups</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459093#M13025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Within my map service, the id for the wards layer is "0". My understanding was that I needed to use "0" since it's a dynamic service, and a sublayer id="0" is going to call the layer with an id of 0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 16:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459093#M13025</guid>
      <dc:creator>TylerDunn2</dc:creator>
      <dc:date>2014-04-10T16:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple definition queries with multiple popups</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459094#M13026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tyler,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; OK I see your confusion. Each sublayer in a map service can only have ONE popup/defenition query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 16:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459094#M13026</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-04-10T16:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple definition queries with multiple popups</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459095#M13027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;okay so the best way around this would be to republish the service with a separate layer showing each ward (using a definition query) in the .mxd (Ward 1, Ward 2 etc). Then when doing the sublayers, call each sublayer by the new id number?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 16:51:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459095#M13027</guid>
      <dc:creator>TylerDunn2</dc:creator>
      <dc:date>2014-04-10T16:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple definition queries with multiple popups</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459096#M13028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tyler,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That is a good approach.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 17:02:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/multiple-definition-queries-with-multiple-popups/m-p/459096#M13028</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-04-10T17:02:47Z</dc:date>
    </item>
  </channel>
</rss>

