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

Viewer 3.2 Geoprocessing widget error

$
0
0
Hello,

Today i downloaded the new ArcGIS Viewer for Flex v3.2 from gitHub. The import and adding the swc as usual went fine but i got an error in the Georpocessing widget.

Specifically it was located in rendereres >input>GPInputDataFileParamItemRenderer.mxml>Line 132 (in the fileRef_uploadCompleteDataHandler() function).

The error says 'Access to undefined property JSON'.

Importing com.esri.ags.utils.JSONUtil and modifying the call on line 132 to:
Code:

handleResponseObject(JSONUtil.decode(event.data))
from:
Code:

handleResponseObject(JSON.parse(event.data));
resolved the error.

I am not using the geoprocessing widget right now, but will be soon so wanted to make sure this was gonna fly once i do use it.

-daniel

How to disable identify widget when active draw widget

$
0
0
I try to auto active identify widget tool when mouse click a polygon everytime. If identify widget is not open, mouse click will open it but how to disable identify tool when using draw widget to draw line or polygon or etc.
I added map.addEventListener(MapMouseEvent.MAP_CLICK, onMouseClick); under configLoaderHandler funtion on MapManger and also added new function
private function onMouseClick(event : MouseEvent) : void
{
AppEvent.dispatch(AppEvent.WIDGET_RUN, ViewerContainer.getInstance().widgetManager.getWidgetId("Identify")); // add new reactive identify tool
}

Any suggestion will help. Thanks.

Import an application

$
0
0
I was wondering if it is possible to import an application into the list of Application Builder instead of creating a new one? For example, if I want to just copy a project folder into the /flexviewers folder, and then somehow make it visible in the list. Would this be possible?

Thanks,
Igor

Popup with relates vertical scroll bar obscures data

$
0
0
I have relates attached to my parcels. To access the data i have selected show relate in the popup wizard (arcgis Viewer for flex 3.2) The vertical scroll bar obscures approximately 6 characters worth of data when the string is wider than the window. I am happy with the wrap around as long as it still shows all the information.

Thoughts?

Attachment 22945
Attached Thumbnails
Click image for larger version

Name:	popup.JPG‎
Views:	N/A
Size:	102.8 KB
ID:	22945  

How can i change the windows size of the Print widget with danish lettes?

$
0
0
After upgrade to ArcGIS Viewer for Flex 3.2 with danish support, the print window is to small to show the print button when the
widget is pop up. Attachment 22955

If I pull the corner of the window, button becomes visible
How can i change the window size? in the PrintWidget.xml config file?
We use the ArcGIS Viewer 3.2 for Flex (application builder)
my config

<?xml version="1.0" ?>
<configuration>
<taskurl>http://**.**.dk/gis/rest/services/Print/VerdoPrint/GPServer/Export%20Web%20Map</taskurl>
<title visible="true"/>
<copyright visible="true">Verdo Tele A/S</copyright>
<author visible="true"/>
<usescale defaultvalue="17500000">true</usescale>
<formats defaultvalue="PDF"/>
<layouttemplates defaultvalue="A4 Portrait"/>
</configuration>
Attached Thumbnails
Click image for larger version

Name:	Print.JPG‎
Views:	N/A
Size:	21.1 KB
ID:	22955  

Chart Widget Zoom to

$
0
0
I'm a new Flex Viewer user and I'm wondering if the chart widget has the ability to "zoom to selection" from results?
For example, if you create a pie chart from a graphic selection, it would be great if you could select a wedge/slice from the pie and zoom to it.

Will Compiled FlexViewer web apps Version 2.5 work on ArcGIS Server 10.1?

$
0
0
Hi,
We are researching if we can go to ArcGIS Server 10.1 and our compiled version 2.5 FlexViewer apps will work? We weren't sure if we have to go to compiled Flexviewer 3.1 first on our web apps?
We currently have ArcGIS Server 10.0, SQL 2008 R2, and Windows Server 2008 R2 standard with IIS7.
Thanks,
Janie

Obtain attribute values from a MapService layer to use in custom widget

$
0
0
I have a custom widget that I am running in the Flex Viewer version 3.2 (uncompiled). The custom widget takes user inputs for a geoprocessing service, passes them to the server, and renders the results. I am working on some new functionality and would like the user to be able to click on one or more points from a MapService layer and build up a list of PointIDs. This list would then be entered as an input string in my custom widget.

I have looked at some of the Flex API samples like http://resources.arcgis.com/en/help/...000000r000000/ but am stuck on:
  • using this code within my custom widget, as opposed to within a standalone map
  • whether to make a graphics layer from the map service layer or query the map service layer
  • selecting multiple points (e.g. control-click)

If anyone has suggestions or good examples, I'd appreciate it.

Thanks,
-Erik

PopUp Formatting

$
0
0
Hello All,

I am working on a PopUp config file for displayed data but was wondering if there is a better way of formatting the popup then using the description tags.
<description>
<![CDATA]]>
</description>

Using just the field tags works ok but I am trying to do a little more with some left and right justifications.

Example:

Temperature: 80°F
Average Ammonia: .1186
Average pH: 7.67


Any suggestions would be great

Thanks

Eric

ShapeFilesWidget and Print legend

$
0
0
I am using FV3.1 and the shapefileswidget 3.1.3.

Everything seems to be working (loads large data sets much faster now with the 100 points at a time BTW) and adds the shapefile name/labels to the TOC/Legend.

However, when I print using the print task, each shapefile that I have added show up as Override 1. So, could have multiple Overrride 1's, with the proper symbology.

Was wondering if there is a way to get it to actually report the shapefile name in the print legend as it does in the TOC and Legend widget.

Thanks,

R_

singleLineSearch in 3.2

$
0
0
Was wondering where the singleLineSearch.mxml code is being called from in version 3.2?

I would like to disable the popups for search results, but noticed that the singleLineSearch is no more?

R_

popup to show multi-images

$
0
0
Hello,


Anybody has an idea on how to configure the popup to display a series of images/pictures per feature, similar to the brilliant "Attachment Relate Info Window Widget" by Mr. Scheitlin?

Regards,
Rafael

I can define that line that displays map in arcgis flex viewer?

$
0
0
I can define that line that displays map in arcgis flex viewer?

Could not fetch basemap data: Security error accessing url

Upgrade to Flex 3.2 hosed my Bookmarks widget

$
0
0
This is strange. I just upgraded from Flex 3.1 to 3.2. The upgrade process completed successfully, and the upgrade of my web app was also successful, except...

Now my Bookmarks widget doesn't work. When I click it's icon on the Header Controller to open it up, the icon just bounces up and then down, but the Bookmarks window does not appear on screen. I thought that maybe it was somehow opening off-screen so I put in explicit "left=" and "top=" values in my config.xml file, but that didn't fix the problem.

Next, using the 3.2 Application Builder, I deleted the widget from my app and saved. Then using the Builder I added the Bookmarks widget back in to my project and added a new bookmark. Still no go. The Bookmarks window still refuses to open. I have checked the BookmarkWidget.xml file for typos and bad or missing code, but everything is fine with it.

It is ESRI's standard Bookmark widget that comes with Flex 3.2. It worked just fine in 3.1, before upgrading to 3.2.

Any ideas on why it won't work?

Multiple Map Services or One combined

$
0
0
I have separate Map Services of lines, polygons and points that when loaded to ArcGIS Server run perfectly and labels show up. If I combine my points, layers and polygons into one mxd and load that as a service then I am missing all my labels. I was using maplex but switched to the standard label engine, still no labels. I was told one combined service results in less memory usuage on server. Is this common, for labels only to show in individual map services? I am using flex builder 3.1 to load my services.

identify widget

$
0
0
I trying to use the custom identify tool with my layers and the tool just ignores their entries in the xml file. I am using the identifywidget.xml file that Robert provided with his tool and I included my layer as a test. When I zoom to the area of my layer the identify tool cannot find anything! When I zoom in the area of the layers that were originaly in the xml file the identify tool works!
Any suggestions?

Attached is the xml file. My layer is the second listed. I already checked the field names for mispellings or similar errors but nada.

Thanks.
Attached Files

UTM Grid similar to LatLong\MGRS Grids

$
0
0
I'm using Kerry Coffin's and ad_giles@hotmail.com's widgets and FlexProjections.swc as a base to try and make a tool that can draw on the map a grid in UTM Zone 35N and a LatLong grid. My maps are in UTM 35N but I can't seem to make the right conversion to WGS84 to display the LatLong grid. And as for the UTM grid - I'm not sure if that is possible with this library(maybe some heavy modfication of the MGRS Layer as they are supposed to be similar).

This is the most recent try to get the right projection to the graticule layer and display the LatLong grid:
Code:

import com.esri.ags.geod.Ellipsoid;
import com.esri.ags.geod.IProjection;

var a:Number = 6378137;
var inverseF:Number = 298.257223563;
var wktName:String = "Ellipsoid R=WGS84";
var newEllipsoid:Ellipsoid = new Ellipsoid(a,inverseF,wktName);
var newIProj:IProjection = MoreUtils.getUTMProjection(32635, false, newEllipsoid);
graticuleLayer.projection = newIProj;

The code is in the function that initializes on creationComplete (or widgetConfigLoaded="basewidget_widgetConfigLoadedHandler(event)" in the widget) and creates the instances of the MGRS and Graticule Layers

Viewer Fails while Zooming out during Edit Widget use

$
0
0
We are having an issue when using the edit widget, having selected a feature and zooming out, the viewer fails after 1:9000 lod.
The viewer is apparently overwhelmed. The only solution is to refresh/reload, which takes it back to the initial extent.

Are there any solutions other than not zooming out in edit mode?

Flex 3.2 Attribute Table field order - I thought this was configurable in the XML

$
0
0
Ok, I can't figure out if I'm crazy, dumb, or just missing the point (maybe all three).

According to this ( http://resources.arcgis.com/en/help/...0000011000000/ )...

Quote:

What's new in ArcGIS Viewer 3.2 for Flex Widget enhancements and Changes
Attribute Table widget changes
  • Better support for many layers - GitHub/74
  • Edit Widget and Attribute Table Widget - Honor the the order of fields specified in widget configuration - GitHub/23
  • Proxy page, if specified, is now used for related records queries made by Attribute Table widget - GitHub/58

...it sounds like I should be able to specify the fields in the order that I want them to appear in the Flex 3.2 Attribute Table widget. I thought this meant that the order of the fields, as listed in my AttributeTableWidget.xml file, would be reflected in the attribute table. But this doesn't appear to be so.

I have tried all three options for <columnsorder> (the options are alphabetical, fields, and fieldinspector). So far, I've had the fields in the attribute table show in alphabetical order and fields order (which reflects the field order in the source GDB). But I can't get the fields in the attribute table to show in the order that I have specified in the XML file.

What gives? I thought this was an issue that was addressed and fixed with Flex 3.2.
Viewing all 2097 articles
Browse latest View live