I do have a problem with the Get Unique Values not loading
Lisa,
List not showing all unique values is to do with an ArcGIS Server setting which controls the amount of features allowed to be returned. The setting can be changed in the server. See the comments on the page where you can download the Selection widget as there is an answer in one of the comments.
Mike,
Do you mean you are not getting a full list or none at all.
If you are not getting a full list then it has been mentioned previously in this thread
If you are not getting any values at all, please post your selectionwidget.xml file.
<?xml version="1.0" ?> <configuration> <layers> <layer> <name>Water Wells</name> <url>http://dnrmaps.dnr.in.gov/ArcGIS/rest/services/ProgramMaps/WaterWells_DNR_102100/MapServer/1</url> <titlefield>DBLREFNO</titlefield> <linkfield></linkfield> <fields> <field name="DBLREFNO"/> </fields> </layer> </layers> <zoomscale>50000</zoomscale> <info>widgets/InfoTemplates/InfoPopupWidget.swf</info> </configuration>
Hi Mark
but is it possible to extend the widget's function for a map service with a relationshio class?
mmartin;89662 wrote:
Thanks for replying Mark. I am not getting any at all.
{ "error" : { "code" : 500, "message" : "No display field", "details" : [] } }
//query.where = "1=1"; query.text = "%";
In SelectionByAttributes.mxml the function retreiveFieldValues, I had to comment out the query.where"1=1" and add a new line of query.text = "%".
Not sure why text worked and 1=1 did not work on your layer, as both methods are doing the same thing.
If you can access the source code, I would suggest making the change.//query.where = "1=1"; query.text = "%";
Lisa,
List not showing all unique values is to do with an ArcGIS Server setting which controls the amount of features allowed to be returned. The setting can be changed in the server. See the comments on the page where you can download the Selection widget as there is an answer in one of the comments.
Thanks Robert
i have another question! is it possible to change the code for use the ALIAS of fields in the XML file?