missing labels and pop-ups in feature services

375
2
Jump to solution
02-20-2013 07:50 AM
AllisonShaw
New Contributor III
I am starting a new thread since my issues have morphed since my original posting.

I am using Flex Viewer 2.4 (we won't have time to upgrade for a few months) and need to add a couple of ArcGIS Online feature services to our application.  The features display in the viewer but there are three problems:

1. the labels (no scale dependency) don't display
2. xml pop-ups aren't active
3. no symbology appears in the TOC widget

Here are a couple different configurations I have experimented with on the two ArcGIS.com feature services:

<layer label="Top 50 Fish Barrier Removal Priorities" type="feature" visible="true" alpha="1" useamf="false"
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_TOP/FeatureServer...">
<sublayer id="0" popupconfig="popups/RSX.xml"/>
</layer>
      
<layer url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_DUCK_RSX_OTHER/FeatureServ..." visible="true" alpha="1.0" mode="onDemand" useamf="false" label="Other Surveyed Potential Barriers" type="feature"/>
<sublayer id="0" popupconfig="popups/RSX.xml"/>

Could someone kindly correct my code?

Thanks!
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Allison,

   The only one that can be fixed is the popups (as far as you using FV 2.4).

<layer label="Top 50 Fish Barrier Removal Priorities" type="feature" visible="true" alpha="1"  popupconfig="popups/RSX.xml" useamf="false" url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_TOP/FeatureServer/0"/>


The labels are not going to show up as labels/annotation is not supported with  type="feature".
The no symbology appears in the TOC widget when using layers from ArcGIS Online accounts was not fixed until version 3.x

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Allison,

   The only one that can be fixed is the popups (as far as you using FV 2.4).

<layer label="Top 50 Fish Barrier Removal Priorities" type="feature" visible="true" alpha="1"  popupconfig="popups/RSX.xml" useamf="false" url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_TOP/FeatureServer/0"/>


The labels are not going to show up as labels/annotation is not supported with  type="feature".
The no symbology appears in the TOC widget when using layers from ArcGIS Online accounts was not fixed until version 3.x
0 Kudos
AllisonShaw
New Contributor III
Allison,

   The only one that can be fixed is the popups (as far as you using FV 2.4).

<layer label="Top 50 Fish Barrier Removal Priorities" type="feature" visible="true" alpha="1" 
popupconfig="popups/RSX.xml" useamf="false"
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_DUCK_RSX_TOP/FeatureServer/0"/>


The labels are not going to show up as labels/annotation is not supported with  type="feature".
The no symbology appears in the TOC widget when using layers from ArcGIS Online accounts was not fixed until version 3.x


Duh, there are no sublayers in feature services to need to specify sublayer ID!  Thanks for the info on the limitations of feature services.  You always hit the hammer on the head, Robert!
0 Kudos