I was attempting on setting up the Identify widget for the viewer and it seems to work fine except for 1 issue that i can not figure out what is causing it. I started with a out of the box viewer and added in 1 of my services to the config. I added in that service information that i want to identify and all seems ok, but when i go to the site to test it i get a Loading... layers remaining: 1 on top of the widget results. It returns the correct information in the popup and everything seems to work correctly except that loading will stay on top forever. I've attempted to try several different map services i have and they all continue to have the same issue. I noticed on the demo site it does not do this. But with the compiled and uncompiled 3.1 versions when i try them it does.
Attachment 20706
Using viewer 3.1 and server 10.11. Has anybody else ran into this? I've cleared my cache restarted my services and even attempted a restart of the gis server to see if that would take care of it.
Hi,
I've downloaded the lastest Identify Widget and can't get it to work under ArcGIS Flex Viewer 3.1 The error I'm getting is: "1046: Type was not found or was not a compile-time constant: PopUpInfo" on line 1304 in IdenfityWidget.mxml. Any help would be appreciated.
What is the easiest way to remove the icons from the top of an individual widget? I have one widget in the latest viewer version (3.1) that I have added buttons to at the bottom of the widget to change the state of the widget. The same function that the icons at the top of the widget do.
I am not a trained developer so I'm trying to hack this together. Do I need a separate widget template or is there something I can toggle in the code to achieve this? Any help would be greatly appreciated.
I'm having an odd issue with the identify widget in 3.1. In my first two upgrades, this widget performs as expected. With the third nothing happens when I click on something as if it is not recognizing the layers as being present in the map. For the name I am taking it directly from the Services directory and for the field names I am using the aliases in the the services directory. Below is my widget config file. I'm not returning any errors and the main config file references IdentifyWidget_1 which is what is below.
Code:
<?xml version="1.0" ?>
<configuration>
<betareturngeometryfix>false</betareturngeometryfix>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>5</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>true</keepidentifyactive>
<returngeometryforzoom>false</returngeometryforzoom>
<enablelineselect>true</enablelineselect>
<enableextentselect>true</enableextentselect>
<enablepolyselect>true</enablepolyselect>
<enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>true</enablemouseoverrecordinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>2000</infoautoclosemilliseconds>
<autoactivatedtool>mappoint</autoactivatedtool>
<excludebasemaps>true</excludebasemaps>
<labels>
<zoom2message>Click to Zoom to Point</zoom2message>
<identifylabel>Identify</identifylabel>
<resultslabel>Results</resultslabel>
<descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
<pointlabel>Identify by Point</pointlabel>
<linelabel>Identify by Polyline</linelabel>
<rectlabel>Identify by Rectangle</rectlabel>
<polylabel>Identify by Polygon</polylabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loading...</loadinglabel>
</labels>
<layers onlythese="true">
<layer>
<name>Spaces</name>
<fields>
<field name="SpaceID"/>
<field name="LASTNAME" alias="Last Name"/>
<field name="FIRSTNAME" alias="First Name"/>
<field name="M" alias="Middle Initial"/>
<field name="BIRTHDATE" alias="Date of Birth" dateformat="MM/DD/YYYY"/>
<field name="DEATHDATE" alias="Date of Death" dateformat="MM/DD/YYYY"/>
<field name="Notes"/>
I am using the latest 3.1 viewer and looking to secure the extent. Disabling the left mouse function would be nice but I would like to constrain the extent similar to http://thunderhead.esri.com/readonlyurl/ExtentApp.html
I haven't been successful getting this updated for 3.1 and was wondering if anyone has migrated the action script an updated changes to the mapmanager.mxml for the later versions of the viewer?
I have Query widget using flexviewer 3.1 none of which display the image in the popup window. However you can link to the image in the Query widget itself see image. What is going on here. It used to work in older version.
If I open the identify widget it works as expected. However when I have the identify widget and the Query widget open at the same time identify widget no longer works. using flexviewer 3.1
Is there a conflict with these widgets? Anyone else having problems with this?
I,m using Geoprocessing tool (ArcGISServer 10.1) and flex3. I have this error in my arcgisjob directories: "Geometry can not have z values". How can I change "returnZ false" to "returnZ true"? or other solutions?
I am new to Flex Viewer and I want to create my first map using a OSM background and some shapefiles as operational layers. I uploaded the first shapefile to arcgis.com (my content) and shared it to everyone: (http://www.arcgis.com/home/item.html...8e3e8d9165e6b0).
Now, why can't I access this shapefile from Flex Viewer. Am I missing something?
I am using the identify widget for a layer that is used as a map and a feature layer. When I use the identify widget I am getting 2 results for eah record. Is there a way to exclude one?
Using the Viewer for Flex Application builder 3.1, I've added a couple of operational layers that require a proxy. These display fine, but the print widget generates an error. When using the print widget, the "Web Map as JSON" that is generated does not include the proxy url before these operational layers. The Viewer reports: "RPC fault, failed to create layer from service at....". When I test at the REST endpoint, I can take the JSON generated by the print widget and just add the proxy url before service url and everything works splendidly.
Is this a bug with the Application builder, or am I missing some configuration option for the print widget to tell it to use the proxy? I see some other widgets that have a proxy checkbox, but don't see that with the print widget.
I am running ArcGIS Server 10.1 SP1 and ArcGIS for Flexviewer 3.1. I have a testbed Flex mapping application at maps.nwifc.org:8080/test_x. The Legend Widget is described as showing only those service layers that are visible at the time of viewing. Thus when a service is within its visible scale range the legend displays it and doesn't when it is beyond its visible scale range. This behavior statement seems to be upheld when only the scale dependent service is turned on; when additional layers are also turned on the legend does not update unless the scale dependent service is cycled off/on for any given map scale. The test map has three dynamic map services: County (polygon, visible at all scales), Offices (three points visible at all scales) and WRIA/WAU (two feature layers WRIA and WAU, with the WAU only visible once zoomed in beyond 300,000). Turn off county and offices and the legend updates appropriately for WRIA/WAU as you zoom in or out. Turn on either/both County and/or Offices and the legend does not update as you zoom in or out. This problem exists regardless of public or private publication. The behavior holds true across all my maps with scale dependent layers (over 10 map applications). The map above is just a test map app to demonstrate the problem. Any solutions or ideas out there?
Here's a few questions on the evolution of the builder :
- Any plan to manage widget groups within the builder (as this is currently possible in the XML configuration file) ?
- Any plan to allow for widget positionning within the builder (as this is currently possible in the XML configuration file) ?
- Any plan to implement configuration GUI for widget within the Builder instead of XML editing (ie same as standard widgets) ?
- Any plan to release the Builder code on Github as you did with the Viewer ?
Hi hi,
since i am located in Europe I would like to have points as thousand separators and comma as decimal points, is this possible using Enhanced Draw Widget??
Currently I have a widget that allows users to display certain map layouts. All it basically does is turn layers on/off programmatically based up which map they want to see (see graphic). I would like to have three icons instead of the widget on the Header. ie: "Zoning Map", "Flood Map", " City Map" that would essentially do the same thing when the icon was clicked. Is this a possibility?
I have a model in ArcGIS 10.1 that user should draw a line on the map and model convert it to a 3d line.When I run model by ArcMap every thing is ok, but when I run model by flex viewer, it return this error in the message of arcgisjob: geometry can not have z values.
what is wrong on my flex viewer 3 or geoprocessing?
Regards
A.ponker
I apologize if this has been answered already, but I couldn't find anything in the forums. Just upgraded from 2.x to 3.1 and I'm noticing that when using a service that has a layer with grouped values in it's symbology, that is it's making a duplicate patch for each category. For instance, I have a land use layer that is broken down into over a hundred categories. For the legend, on one group I combine 'Senior High School', 'Junior High School', 'Elementary...', 'College' all into a symbol labeled 'Schools'. But on the widget I'm getting 4 patches all with the same color, all labeled as 'Schools'. Is there any fix for this behavior? This only happens on my 3.1 application and not on the 2.5 application.
I try to highlight a polygon when item roll over on the datagrid and unhighlight it when item roll out. But keep getting error message on onItemRollOut function.
I attached the modify code and message here. Hope someone can give me so ideas.