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

Identify Widget not returning some fields

$
0
0
Hi all,

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">

<layers>
<layer>
<name>LotLines</name>
<fields>
<field name="gisdata.GISADMIN.PARCELDATA.PROP_ADDRS" alias="Property Address" />
<field name="gisdata.GISADMIN.PARCELDATA.OWNER" alias="Owner" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD1" alias="Owner Address1" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD2" alias="Owner Address2" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD3" alias="Owner City" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD4" alias="Owner State" popuponly="true" />
<field name="gisdata.GISADMIN.PARCELDATA.OWN_ADD5" alias="Owner Zip" popuponly="true" />
</fields>
<links></links>
<zoomscale>1200</zoomscale>
<forcescale>true</forcescale>
</layer>

</layers>

<symbols>
<simplefillsymbol color="0x00FFFF" alpha="0.3" style="solid">
<outline color="0x00FFDD" alpha="1.0" width="2"/>
</simplefillsymbol>
<simplemarkersymbol style="Triangle" size="12" color="0x00FFDD" alpha="1.0" xoffset="0" yoffset="0" angle="0">
<outline style="solid" color="0xffffff" alpha="1.0" width="1"/>
</simplemarkersymbol>
<simplelinesymbol color="0x00FFDD" alpha="1.0" width="3"/>
</symbols>
</configuration>
Attached Thumbnails
Click image for larger version

Name:	Rest Screenshot.jpg‎
Views:	N/A
Size:	121.2 KB
ID:	31417  

eLocate Widget - Is it possible to change the reverse geocoding results?

$
0
0
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.

I am using the 3.6 version.

Thanks

Error # 2032 in Flex Viewer

$
0
0
Hi All,

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.

Attachment 31427

Can anyone please advise if any changes can be made in the Flex Viewer to stop / disable the attempts to connect to the Internet?

Thanks,

Chapal
Attached Thumbnails
Click image for larger version

Name:	IT_blocks.jpg‎
Views:	N/A
Size:	42.3 KB
ID:	31427  

Flow Arrows for Utilities

$
0
0
Hi,

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.

Thanks,
Andrew

Attribute table for buffer results from ALL active layers

$
0
0
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.

Clear Button In Direction Widget

$
0
0
Hi ,

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.

Regard,
siddiqui
Attached Thumbnails
Click image for larger version

Name:	CLEAR.png‎
Views:	N/A
Size:	21.5 KB
ID:	31478  

Displaying identify results from all layers

$
0
0
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?

Are custom Time Steps possible using the Time Aware properties?

$
0
0
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.

Extending the ArcGIS Viewer for Flex "Virtual Campus"

$
0
0
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?
Attached Thumbnails
Click image for larger version

Name:	2014-02-17_10-52-40.jpg‎
Views:	N/A
Size:	112.3 KB
ID:	31521  
Attached Files

Dynamically Change UI (Config or Somewhere Else?)

$
0
0
Hello,

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

Locate widget : unable to connect to locator Service

$
0
0
Hello,

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?

Here is the error:
Attachment 31544

thanks in advance for your help!

Anne
Attached Thumbnails
Click image for larger version

Name:	erreur_locator.png‎
Views:	N/A
Size:	21.1 KB
ID:	31544  

Header Control Widget

$
0
0
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:

C:\inetpub\wwwroot\flexviewers\FlexMapEN\WebHelp_Images

The Header Control widget.xml file been set to point to this file:

url="C:\inetpub\wwwroot\flexviewers\FlexMapEN\help-EN.htm"/>

While after activating the help link in the viewer, the help file appears, but none of the images I've used do not appear.

How can this be resolved?

Walter

Hyperlink In Identify Widget

$
0
0
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.

How can this be resolved?

Walter




Attachment 31555
Attached Thumbnails
Click image for larger version

Name:	IdentifyHyperlink.png‎
Views:	N/A
Size:	61.6 KB
ID:	31554   Click image for larger version

Name:	IdentifyHyperlink.png‎
Views:	N/A
Size:	69.5 KB
ID:	31555  

Time Slider Widget Question

$
0
0
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.

How can I hide/slide a widget out of view

$
0
0
Hi,

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?

Thanks

New to Flex

$
0
0
Hi Guys

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

import com.esri.ags.Map


Can anyone tell me how to solve this problem?

Thanks
Joseph

Arcgis viewers for flex

$
0
0
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 )

Password protected RSS feed

$
0
0
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.

Thanks,
Shawny

Search Locator Standard Text

$
0
0
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.

Does anyone know where this text can be set?

Walter

Flew Viewer Examples

$
0
0
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:

NOAA ENC Direct http://encdirect.noaa.gov/
USGS GLORIA http://coastalmap.marine.usgs.gov/Fl...tional/gloria/
Census Metro and Micro http://www.census.gov/population/met...atic_maps.html
BLM(?) GeoPortal http://gptogc.esri.com/geoportal/viewer/index.jsp

Weld Country CO http://propertyinfo.co.weld.co.us/
Florida LABINS http://labinsw2010.freac.fsu.edu/LABINS/index.html
Benton County Arkansas http://maps.co.benton.ar.us/parcels/index.html
Nature Conservancy Core Data http://maps.tnc.org/coredata/
Viewing all 2097 articles
Browse latest View live