Hi,
this widget is cool, http://www.arcgis.com/home/item.html?id=58d9bb5693c94918a3934781d7234d18 however it doesn't seem to exclude the layers I set in the widget. Any ideas? is this a bug. They are editable feature layers, is that a limitation?
Cheers
Alistair
Allistar,
Because you are using a featurelayer and not a dynamic layer you should not include the layer id in the exclude:
<excludelayer mapservice="Section8 Non Defence users"/>
thanks. App builder doesn't allow you option to remove the layer id's. so manual edit of config file works.
thanks
eLayerList config below and then an example of the 1st layer being reference from the config.xml
<?xml version="1.0" ?>
<configuration>
<labels>
<visibilitylabel>Layer Visibility</visibilitylabel>
<expandall>Expand All Layers</expandall>
<collapseall>Collapse All Layers</collapseall>
<zoomtomakevisible>Zoom To Make Visible</zoomtomakevisible>
</labels>
<tocsettings>
<collapselegends>true</collapselegends>
<disablezoomtomenuoption>false</disablezoomtomenuoption>
<expanded everything="false">true</expanded>
</tocsettings>
<excludegraphiclayers>true</excludegraphiclayers>
<excludebasemaplayers>true</excludebasemaplayers>
<usenewesridescription>false</usenewesridescription>
<excludelayers>
<excludelayer mapservice="Section8 Non Defence users">7</excludelayer>
<excludelayer mapservice="Section7 Security and Safety Considerati">6</excludelayer>
<excludelayer mapservice="Section6 Design, Traffic and Property Co">5</excludelayer>
<excludelayer mapservice="Section5 Engineering Considerations">4</excludelayer>
<excludelayer mapservice="Section4 Environment & Heritage Consider">3</excludelayer>
<excludelayer mapservice="Section3 Zone or Master Planning">2</excludelayer>
<excludelayer mapservice="Section2 Technical">1</excludelayer>
<excludelayer mapservice="Section1 AirFields and Aviation">0</excludelayer>
</excludelayers>
</configuration>
<layer type="feature" label="Section8 Non Defence users" url="https://xyz/arcgis/rest/services/Land121/Section_Considerations/FeatureServer/7" popupconfig="popups/PopUp_6.xml" mode="onDemand" definitionexpression="SiteNumber = 21" visible="false"/>
Alistair,
Can you post your xml configuration for excluding those layers?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.