<?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: Adding multi-layer ArcGIS Online feature service in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762112#M22825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Hi,&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I was wondering if anyone could help me set up config.xml correctly to reference an ArcGIS Online feature service with three sublayers, since I haven't been able to get the data to appear in the viewer.&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I tried the following to no avail to incorporate all three sublayers:&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;&amp;lt;layer label="Northern Pike" type="dynamic" visible="true" alpha="1"&amp;nbsp;&amp;nbsp; &lt;BR /&gt;url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;MapServer&lt;/SPAN&gt;"&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;lt;/layer&amp;gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I then tried to do for a single sublayer to see if type="feature" would make it work:&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;&amp;lt;layer label="Northern Pike" type="feature" visible="true" alpha="1"&amp;nbsp; &lt;BR /&gt;url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer/0"&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;lt;/layer&amp;gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Any suggestions?&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Thanks in advance for your help!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't use agsonline, so not sure if it is structured the same, but.. Does the above change work for you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2013 20:45:35 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2013-02-19T20:45:35Z</dc:date>
    <item>
      <title>Adding multi-layer ArcGIS Online feature service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762110#M22823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if anyone could help me set up config.xml correctly to reference an ArcGIS Online feature service with three sublayers, since I haven't been able to get the data to appear in the viewer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the following to no avail to incorporate all three sublayers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Northern Pike" type="dynamic" visible="true" alpha="1"&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;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer" rel="nofollow" target="_blank"&gt;http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&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;I then tried to do for a single sublayer to see if type="feature" would make it work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;layer label="Northern Pike" type="feature" visible="true" alpha="1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer/0" rel="nofollow" target="_blank"&gt;http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&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;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2013 16:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762110#M22823</guid>
      <dc:creator>AllisonShaw</dc:creator>
      <dc:date>2013-02-16T16:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multi-layer ArcGIS Online feature service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762111#M22824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot to mention that I'm still using version 2.4 of the viewer, so maybe this old version can't handle multi-layer feature services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I was wondering if anyone could help me set up config.xml correctly to reference an ArcGIS Online feature service with three sublayers, since I haven't been able to get the data to appear in the viewer.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;I tried the following to no avail to incorporate all three sublayers:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;layer label="Northern Pike" type="dynamic" visible="true" alpha="1"&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;BR /&gt;url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer"&amp;gt;&lt;BR /&gt;&amp;lt;/layer&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I then tried to do for a single sublayer to see if type="feature" would make it work:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;layer label="Northern Pike" type="feature" visible="true" alpha="1"&lt;BR /&gt;url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer/0"&amp;gt;&lt;BR /&gt;&amp;lt;/layer&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help!&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 19:29:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762111#M22824</guid>
      <dc:creator>AllisonShaw</dc:creator>
      <dc:date>2013-02-18T19:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multi-layer ArcGIS Online feature service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762112#M22825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Hi,&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I was wondering if anyone could help me set up config.xml correctly to reference an ArcGIS Online feature service with three sublayers, since I haven't been able to get the data to appear in the viewer.&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I tried the following to no avail to incorporate all three sublayers:&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;&amp;lt;layer label="Northern Pike" type="dynamic" visible="true" alpha="1"&amp;nbsp;&amp;nbsp; &lt;BR /&gt;url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;MapServer&lt;/SPAN&gt;"&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;lt;/layer&amp;gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I then tried to do for a single sublayer to see if type="feature" would make it work:&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;&amp;lt;layer label="Northern Pike" type="feature" visible="true" alpha="1"&amp;nbsp; &lt;BR /&gt;url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer/0"&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;lt;/layer&amp;gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Any suggestions?&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Thanks in advance for your help!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't use agsonline, so not sure if it is structured the same, but.. Does the above change work for you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 20:45:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762112#M22825</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-02-19T20:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multi-layer ArcGIS Online feature service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762113#M22826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't use agsonline, so not sure if it is structured the same, but..&amp;nbsp; Does the above change work for you?&lt;BR /&gt;&lt;BR /&gt;R_&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion, but unfortunately it didn't fix it.&amp;nbsp; I am still having this problem even after splitting the feature service into two single-layer ArcGIS Online feature services--it can't even read those.&amp;nbsp; I also tried copying and pasting the xml automatically generated by the ArcGIS Viewer for Flex Application Builder 3.1 into my 2.4 application.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other suggestions?&amp;nbsp; Maybe ArcGIS Online feature services are somehow different from ArcGIS Server feature services and 2.4 can't handle them or requires some different xml?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 22:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762113#M22826</guid>
      <dc:creator>AllisonShaw</dc:creator>
      <dc:date>2013-02-19T22:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multi-layer ArcGIS Online feature service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762114#M22827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if ArcGISOnline is different than a local AGS, but I don't see the respective MapService for that FeatureService (normally, there is one of each when you make a featureservice).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any case, since it is featureservice, this is the only way I could get it to display in the viewer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;layer label="Northern Pike YOY" type="feature" visible="true" alpha="1" 
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/0"&amp;gt;
&amp;lt;/layer&amp;gt;

&amp;lt;layer label="Northern Pike Spawn Adults" type="feature" visible="true" alpha="1" 
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/1"&amp;gt;
&amp;lt;/layer&amp;gt;
&amp;lt;layer label="Northern Pike Unk" type="feature" visible="true" alpha="1" 
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/2"&amp;gt;
&amp;lt;/layer&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, it does draw them correctly (at least in v3 and v31.&amp;nbsp; Don't have older version to test).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:23:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762114#M22827</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-12T08:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multi-layer ArcGIS Online feature service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762115#M22828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Not sure if ArcGISOnline is different than a local AGS, but I don't see the respective MapService for that FeatureService (normally, there is one of each when you make a featureservice).&lt;BR /&gt;&lt;BR /&gt;In any case, since it is featureservice, this is the only way I could get it to display in the viewer:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;layer label="Northern Pike YOY" type="feature" visible="true" alpha="1" 
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/0"&amp;gt;
&amp;lt;/layer&amp;gt;

&amp;lt;layer label="Northern Pike Spawn Adults" type="feature" visible="true" alpha="1" 
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/1"&amp;gt;
&amp;lt;/layer&amp;gt;
&amp;lt;layer label="Northern Pike Unk" type="feature" visible="true" alpha="1" 
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/2"&amp;gt;
&amp;lt;/layer&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;But, it does draw them correctly (at least in v3 and v31.&amp;nbsp; Don't have older version to test).&lt;BR /&gt;&lt;BR /&gt;R_&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, I tried that and it alone doesn't seem to work in 2.4, so I gave up the feature service format and got it to work as a tiled service.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I need two other layers&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_TOP/FeatureServer/0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_TOP/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_OTHER/FeatureServer/0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_OTHER/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to stay in feature service format so that I can use pop-ups.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got these two to display in the 2.4 viewer by adding "useamf=false" to the layer xml, but the labels (only found in the TOP service) don't display nor do pop-ups.&amp;nbsp; It appears that we configured the feature service wrong since the REST page says "HTML Popup Type: esriServerHTMLPopupTypeNone" so I'm going to look into that.&amp;nbsp; But I can't figure out why the non-scale dependent layers on the first service don't display...&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762115#M22828</guid>
      <dc:creator>AllisonShaw</dc:creator>
      <dc:date>2021-12-12T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multi-layer ArcGIS Online feature service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762116#M22829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert Scheitlein answered my questions when I started a new thread.&amp;nbsp; See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/78109-missing-labels-and-pop-ups-in-feature-services?p=274679&amp;amp;posted=1#post274679" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/78109-missing-labels-and-pop-ups-in-feature-services?p=274679&amp;amp;posted=1#post274679&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to both of you for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:24:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-multi-layer-arcgis-online-feature-service/m-p/762116#M22829</guid>
      <dc:creator>AllisonShaw</dc:creator>
      <dc:date>2013-02-20T18:24:14Z</dc:date>
    </item>
  </channel>
</rss>

