Julie If you are using a 10.1 server the render will be provided by the service itself so for the example below it is using this layer that has its own renderer:http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/3If you want to over ride this with your own renderer or you are using a 9.3.1 server you need to specify your own symbology:http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Query_widget_tags/01m30000000t000000/RegardsAnthony
I have configured a Query widget on map service, filter by "category". It can do a query, get result in the query widget. But it cannot render the result set on a graphics layer I check the sample, it renders the filter result on the map.http://resources.arcgis.com/en/help/flex-viewer/live/index.html?config=apps/config-query.xmlMy Query Widget xml file. What i missed to render the result on map? Thanks. <?xml version="1.0" ?><configuration> <layer>http://testserver/arcgis/rest/services/Testing/TestReportAll/MapServer/0</layer> <query>1=1</query> <titlefield>category</titlefield> <linkfield/> <refreshrate/> <zoomscale>50000</zoomscale> <shareresults>true</shareresults> <orderbyfields>event_number</orderbyfields> <fields all="false"> <field name="event_number" alias="occ_number"/> <field name="category" alias="category"/> </fields> <filterfield> <name>category</name> <alias>Filter by category #</alias> </filterfield></configuration>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.