I am using the "out of the box" identify widget with a v2.5 flex app that I am building. It works excellently on a number of layers, but on one layer it is not returning two key fields. Though it does return other fields from the same layer. I have checked and double-checked the field names, aliases, etc. and can't find the problem. I was hoping someone here could identify the problem.
The fields which aren't being returned are the "PROP_ADDRS" and "OWNER" fields.
The only connection I can possibly see is that the Search Widget also uses these fields. But I wouldn't expect that to impact this other widget.
I've attached a screenshot of my REST endpoint.
And here is my code (I've removed the lines specific to other layers, all of which are working fine):
<?xml version="1.0" ?>
<configuration>
<betareturngeometryfix>false</betareturngeometryfix>
<identifylayeroption>visible</identifylayeroption>
<identifytolerance>5</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>true</keepidentifyactive>
<returngeometryforzoom>true</returngeometryforzoom>
<enablelineselect>false</enablelineselect>
<enableextentselect>false</enableextentselect>
<enablepolyselect>true</enablepolyselect>
<enablemouseovergraphicsinfo>true</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>true</enablemouseoverrecordinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>10000</infoautoclosemilliseconds>
<autoactivatedtool>mappoint</autoactivatedtool>
<excludebasemaps>true</excludebasemaps>
<labels>
<zoom2message>Click to Zoom</zoom2message>
<identifylabel>Identify</identifylabel>
<resultslabel>Results</resultslabel>
<descriptionlabel>Select a geometry to use to identify features</descriptionlabel>
<pointlabel>Identify by Point</pointlabel>
<linelabel></linelabel>
<rectlabel></rectlabel>
<polylabel>Identify by Polygon</polylabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loading...</loadinglabel>
</labels>
<useproxy></useproxy>
<layers onlythese="true">
Is it possible to alter the settings of the eLocate widget so that the results of the reverse geocoding tool can correspond with WGS84 without having to alter the coordinate system of the map itself? I couldn't find anything in the read me doc.
Some of our users are getting an error message “2032” while running a Flex Viewer 3.3 Webmap application.
I have tested with different users and it seems that users that do not have Internet access (Intranet only) CANNOT browse the Webmap and the 2032 error message pops up. The test was done on the same PC using the same IE version.
Note: Our ArcGIS Server 10.1 and IIS 6.0 Server are both installed on the same machine (Windows Server 2003 SP2) and connection to Internet from these machines are Blocked as part of corporate security policy.
We have had our Server team investigate and they found that when you open the http://…./FlexViewer/index.html site it immediately tries to access the below URLs on the Internet. It seems to be Flex Viewer’s Index.html is sending the request to connect to the Internet.
I am trying to depict the flow of electrical lines in the ArcGIS for Flex Viewer. I have tried creating the flow arrows on the layer itself and also tried adding it as a separate layer. I am using arrow at the end symbology in ArcGIS for Desktop. But when i add the services into the flex viewer they just show as a solid black line, and dont depict direction. Is there something i am missing? The viewer is version 3.6.
The Attribute widget displays the the fields of ALL layers that are visible and active.
I'm researching a way to use a modified version of this widget, so that when I buffer a polyline or a point, it will capture all the features from all active layers within that buffer and display them on the attirbute table. So, each tab would show the layer with the captured features.
I am aware of the eSearch widget; however you have to select only one layer to query. I’d like to buffer for multiple layers.
Suggestions?
Thank you!
The same question will be posted on the Flex API forum.
I want to put clear Button in Directions widget parallel to Get Direction Button, So that it should not get disturb when we are adding more Destination. Any Idea.
Using Flex Viewers 3.6.4 and Identify widget with the configuration to display raster layers as well.
Gives back the result from each layer, one by one, even the results from all layers if they are vectors or if they are all rasters. When displaying vector and raster layers at the same time and try to identify "all layers" no results can be seen from the raster layer, only the vectors. Would you please advise how to configure the xml in order to be able to get the results back from all layers at the same time from vector and raster types of data?
If possible, I would like to set custom time steps on the time slider that only includes the years from my data. I am trying to show the years 2010, 2017 and 2040 only, instead of having to choose the calculated time step. I would prefer to not have to cycle through time that is not included on my list, as there is no real data differences to show then. If anyone has suggestions or needs more information, please let me know.
I'm taking the course "Extending the ArcGIS Viewer for Flex" and I have a problem with a custom widget. In "Step 5: Wire the event handlers" they are asking me to "Create a new instance of FeatureLayer and assign it to the existing myFeatureLayer instance variable". I have attached the instructions and code. It says to create this within the "open handler function", can any one show me where this is?
I am trying to find a way to dynamically switch the UI dependent on user action. For instance, the user will have the ability to select which type of sub-application they would like to use, and that would then tell Flex Viewer to change its colors, and load in different widgets, etc. This idea would preferably not refresh the browser, but rather bubble up and redraw the UI accordingly.
I have been looking into the event structure for loading in the configdata, but I have been unable to track down exactly where it is set except here:
Code:
private function setConfigFile():void
{
//retrieve FlashVars.
var flashvarConfig:String = FlexGlobals.topLevelApplication.parameters.config;
if (flashvarConfig)
{
configFile = flashvarConfig;
}
//retrieve config from URL and override FlashVar
if (urlConfigParams.config)
{
configFile = urlConfigParams.config;
}
}
Which is fine, I can always make this public, and manually populate it. However, I am unaware of what AppEvent dispatch to call to get the UI to redraw.
I am completely willing to rewrite things, just need to know where to look. Thanks!
P.S. I am using Viewer 3.6 as a base and Flex 4.11.0
I am using Flex 2.5 and I cannot fix this error with the locate widget.
I got this error one day without changing anything : "Unable to connect to locator service, service does not exist or is inaccessible"
I am using the European geocode server.
Any idea if this is linked to something on the configuration file or not?
I'm using the Header Control Widget to display a help file relating to the functionality of our Flex 3.6 viewer. The .htm help file is stored in the root project directory, while the images I've used inside my help file are stored here:
After installing the custom Identify widget into our Flex 3.6 viewer, whenever map features are selected and the resultant "Results Found" displays, there's a small red arrow hyperlink at the bottom of each of the results.
I thought it was the layer properties in my original .mxd file where I had checked off "Show content for this layer using the HTML Popup tool", but after I removed this and republished the map service, the red arrow hyperlinks still appear.
Is there a way to allow the user to manually use the Time Slider. Currently, it appears to be set to automatic, hit the play button and it goes. I am looking for a way for the user to use it like the Basemap Fader. One aerial photo fades into another.
Would it be be possible to modify the Layer List widget so that users could easily show it when needed, and easily hide it when it's not needed. Currently we use the Map Switcher widget and a complaint from end users is that people keep accidentally opening it with the mouse when they hover over the Map Switcher button, and also they don't like that it automatically disappears on mouseout when they would like it to stay open.
If I just replace the Map Switcher widget with the Layer List widget, and I align it to the right with right=0, it kinda works but it's not really quick/easy to open or minimize. Plus if I resize the window the widget is not really docked to the right.
I remember seeing a demo with the Attributes Table widget where you could hide the widget in the bottom of the screen. There's even still the screenshots in the documentation, although all samples I've found use a floating widget:
You would click on that yellow bar and it would show/hide the widget in the bottom of the viewer.
I'm thinking something similar to this, but on the right side of the screen with a widget container or the layer list widget might do what they want. Is this a crazy idea? I have access to the viewer source code and can also play around with skins and such if needed. Does anything know if something like this already exist? Any sample code I could use as a starting point?
Am new to Flex with esri. I have obtained a flex application. When trying to compile the application it gives an error, The import com.esri.ags.Map is not used locally and it's giving an exception at the location
Currently i am facing a big problem with editing facility in flex viewers 3.6, to move polygon feature in editing mode ,
i want to disable the polygon move process in flex viewers .
how i stop it in viewers (as per flex Api it will be possible to whrer i need to change in code )
We would like to use an RSS feed on our map that requires a user name and password. I have been looking at the GeoRSS widget but there is nowhere to put this information. Has anyone had any experience doing something like this? Is there a way to modify the widget to include this information? I am not a programmer so it would need to be something simple.
In my Flex 3.6 viewer, I've used a search and a geolocator attached.
But I need to change the standard text that appears in the search box, from "Search Address" to something else.
I have been searching for examples of flex viewers. Often it is hard to find those published in sources such as ESRI's map books since the link will be to the org's homepage and not the viewer. Below are the ones I have found, will appreciate other posting the ones they have found: