Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Query widget filter?

$
0
0
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/...nfig-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/FeatureServer/0</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

Viewing all articles
Browse latest Browse all 2097

Trending Articles