Select to view content in your preferred language

Query widget filter?

2073
1
05-28-2014 01:24 AM
ArnauForner
Emerging Contributor
Hello,
I have a hosted feature service that represents the 3 different floors of a building. I would like to filter the floors as this example:

http://resources.arcgis.com/en/help/flex-viewer/live/index.html?config=apps/config-query.xml


I have configured a Query widget, filter by "floor".
It can query and also get the result in the query widget. But it doesn't render the result set on the map
(In the example the police stations "disappear")

This is the xml:

<?xml version="1.0" ?>
<configuration label="Floors">
    <layer>http://services.arcgis.com/1WXsSdZFzziTTcic/arcgis/rest/services/Facilities_Floors_StGilles/FeatureS...</layer>
    <titlefield>FLOOR</titlefield>
    <fields all="false">
        <field name="FLOOR" alias="Floor number"/>
  <field name="DESCRIP" alias="description"/>
    </fields>
    <filterfield>
        <name>FLOOR</name>
        <alias>Filter by Floor (Example: 1,2,3 )</alias>
    </filterfield>
    <linkfield></linkfield>
    <refreshrate></refreshrate>
    <zoomscale></zoomscale>
    <query>1=1</query>
<symbols><simplefillsymbol alpha="0"><outline alpha="0"></outline></simplefillsymbol></symbols>
</configuration>


Can anyone help?

Thanks
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Arnau,

   Why do you have the symbology alpha set to zero?.. Doing that would make the results invisible.
0 Kudos