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

Esearch & Elocate

$
0
0
Hello,
Would like to know how Esearch and Elocate are integrated.
I dont know if this gonna work for me:
I have very large non-spatial table related to feature class, user searches non-spatial table first

Thank you,
Laurynas

Resize the eSearch Widget Default Box Size (or other widgets)

$
0
0
Is there a way to resize the default size of the eSearch widget? I have a search that is 2 lines and it results in a little scrollbox appearing on the right side so the user can scroll, or they can manually stretch the box with the grip. Also, if it's possible to relocate the box a little bit for its default position on the screen, I'd like to nudge it a bit.

Attachment 22153

Any ideas if this is possible? I'm using compiled Flex.
Attached Thumbnails
Click image for larger version

Name:	WidgetBox.png‎
Views:	N/A
Size:	23.5 KB
ID:	22153  

Related Records Scrolling off the Edge of My Popup

$
0
0
I have a popup for a transformer bank. It has related records. Some transformer banks can be composed of up to 3 transformers. When I click the show related records button in the popup, it shows the 3 records (click next to show the next record), which is fine. But the problem is that the data in the related table scrolls off the end of the screen... it's impossible for the user to see it. Is there a way to stretch this box out by default or add a scrollbar in there or something, or is this just a bug?

I know Esri just added this functionality recently, but I'm surprised that they could let something so obvious get through.

Any thoughts?

Error for "apply buffer" on esearch

GCOD problem in attribute widget on polylines

$
0
0
Hello,

Is the workaround for the GCOD problem in popups that was given in this thread also usable for the attribute widget? I am experiencing the same problem with the glowfilter on polyline features again.

Thanks in advance.

Enhanced Search Widget

$
0
0
I have been having trouble getting my posts to submit, so hopefully this is not a duplicate. I am having trouble getting the esearch widget 3.0 to return results for a relationship class in an sde geodatabase. It is working fine on a File based Geodatabase. I am using ArcGIS server 10.1. I have checked inside the ArcGIS services directory and the query related records works fine there for both the file based geodatbase and the SDE geodatabase. Both query calls in fire bug look identical, but the sde does not fill out the related records grid.

This is the relate that is not working, and I do not know why because it is identical to the File based Geodatabase. The only thing that I can see different between the geodatabases is that the SDE geodatabase has an alias for the table name and the File based is aliased the same as the table name, but I figure since it is working correctly at the services directory it has to have something to do with the way that the fields are passed back to the data grid.
<layer>
<definitionexpression></definitionexpression>
<enableexport>true</enableexport>
<name>Collection & Drainage Gravity Mains</name>
<enableprintgrid>true</enableprintgrid>
<url>http://XXXXXXX/arcgis/rest/services/Muscatine_City/MuscatineCity_Sewers/MapServer/8</url>
<expressions>
<expression alias="Facility ID" textsearchlabel="Facility ID:">
<values>
<value prompt="Example: GM7349" isvaluerequired="false"> FacilityID LIKE '%[value]%'</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Gravity Mains</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>FacilityID</titlefield>
<fields all="false">
<!--field name="objectid" visible="false" /-->
<field name="FacilityID" gridfield="true" visible="True" />
<field name="OperationalArea" gridfield="true" gridfieldonly="true" alias="Operational Area" />
<field name="AdministrativeArea" gridfield="true" gridfieldonly="true" alias="Owner" />
<field name="FlowType" gridfield="true" gridfieldonly="true" alias="Flow Type" />
<field name="OriginKnown" gridfield="true" gridfieldonly="true" alias="Origin Known" />
<field name="LocationKnown" gridfield="true" gridfieldonly="true" alias="Location Known" />
<field name="YearInstalled" gridfield="true" gridfieldonly="true" alias="Installation Year" />
<field name="Material" gridfield="true" gridfieldonly="true" alias="Material" />
<field name="MaintenanceZone" gridfield="true" gridfieldonly="true" alias="Maintenance Zone" />
<field name="InElevation" gridfield="true" gridfieldonly="true" alias="In Elevation" />
<field name="OutElevation" gridfield="true" gridfieldonly="true" alias="Out Elevation" />
<field name="CrossSectionalShape" gridfield="true" gridfieldonly="true" alias="Shape of Main" />
<field name="Diameter" gridfield="true" gridfieldonly="true" alias="Diameter" />
<field name="PlanReferenceNumber" gridfield="true" gridfieldonly="true" alias="Plan Reference Number" />
<field name="Comments" gridfield="true" gridfieldonly="true" alias="Comments" />
</fields>
<links>

</links>
<zoomscale usegeometry="true" zoompercent="1.6" />
<autoopendatagrid>true</autoopendatagrid>
<relates>
<relate id="5" label="Gravity Main Maintenance" enableexport="true" icon="assets/images/i_Flag.png">
<fields all="true">
<!--field name="GravityMainID" gridfield="true" visible="True" />
<field name="MaintenanceType" alias="Type of Maintenance" />
<field name="DateCompleted" alias="Date Maintenance Completed" dateformat="MM/DD/YYYY" sort="asc|1|date" />
<field name="Length" alias="Length of Maintenance" />
<field name="Direction" alias="Direction of Maintenance" />
<field name="TapeNum" alias="Tape Number if CCTV" />
<field name="RootControlMethod" alias="Root Control Method" />
<field name="WorkDoneBy" alias="Maintenance Completed By" />
<field name="CCTV" alias="Needs Televised" />
<field name="Comments"/-->
</fields>
</relate>
</relates>
<queryattachments>false</queryattachments>
<symbology>
<simplelinesymbol color="0x00ffff" alpha="0.8" width="2" />
</symbology>
</layer>

Any help would be appreciated. Also I think there is a way to get the exact version of the widget, but I cannot find where I seen that.

Compiled FV 3.1 needs reload to appear properly

$
0
0
When loading my flex viewer 3.1 compiled version, it will sometimes stop loading halfway through and become unresponsive (map will load, but not all header elements/widgets in widget container appear). If I reload the page, it comes up as expected and functions normally.

When the problem occurs, content debugger reveals this:
Code:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at com.esri.viewer.components.toc.tocClasses::TocMapLayerItem/createChildren()
        at com.esri.viewer.components.toc.tocClasses::TocMapLayerItem()
        at com.esri.viewer.components.toc::TOC/registerMapLayer()
        at MethodInfo-389()
        at com.esri.viewer.components.toc.utils::MapUtil$/forEachMapLayer()
        at com.esri.viewer.components.toc::TOC/registerAllMapLayers()
        at com.esri.viewer.components.toc::TOC/commitProperties()
        at mx.core::UIComponent/validateProperties()
        at mx.managers::LayoutManager/validateProperties()
        at mx.managers::LayoutManager/doPhasedInstantiation()
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()

Has anyone experienced this problem? Know of a solution? The fact that everything works fine after reloading confuses me. Thanks for the help!

WFS services

$
0
0
Hi
Is it possible using WFS services in Fv 3.1 web application?
Regards
Georgenber

Date issues in multiple widgets.

$
0
0
I am having getting the correct dates in the attribute and edit widgets. All dates are displaying one day off. I understand why this is happening, but don't understand why all widgets aren't standard to allow the user to resolve this. Some of the widgets have the "useutc" tag, which fixes the issue, while the edit and attribute widgets don't include this. Does anyone know a way to have them display correctly? I don't want to convert the dates to strings(my users will be editing and I like the calendar popup for editing) and I would prefer not to change the time stamp on dates to fool the viewer. That could cause problems if some editing is done through ArcMap and the user doesn't know they need to adjust the time.

Any suggestions on this? I'm waiting on a reply from Esri support, but their initial suggestion was turn it into a string, which isn't very helpful.

Error Loading ESRI's FEMA Floodplain Mapservice

$
0
0
To All Flex Viewer Users:

I am trying to load the following public tiled mapservice into my compiled Flex Viewer application:

http://maps3.arcgisonline.com/ArcGIS..._USA/MapServer

But I keep getting the error:

Fault info:E0005E: Invalid tile service

Does anyone know how to fix this problem?

Thank you.

Identify Widget 3.1.2 disable layer dropdown issue

$
0
0
Robert,

I have noticed that disablelayerdropdown="true" seems to remove all results from the identify widget.

Tested with OTB viewer as well. I put an issue on github, but thought I'd make a post so you can get credit for your work,

R_

Clear Single line search on click code

$
0
0
Hi All,

Users getting frustrated with the single line search, after selecting something from the dropdown, it populates the search box with the entire string selected.

Often need to select some of it, delete, select more, delete, and so (even double/triple click doesn't work) on just to clear the box to enter a "new" search term.

Anyway, This is what I did to the SearchInputSkin.mxml to make it clear the text each time the user clicks in the search box.

In case someone else wants this:

Code:

            <s:RichEditableText id="textDisplay"
                                verticalAlign="middle"
                                widthInChars="10"
                                click="textDisplay.text=''" />

R_

Basemaps are slow in Flex Viewer

$
0
0
Hi,

I wondered if this has ever been brought up?

We are in the process of moving to a new server and 10.1 Arcserver, and I started testing the speed of zooming in and out of a 10 level basemap by rolling the mouse quickly. Going through from level 1, all the way through to level 10 actually had a very slow response rolling the mouse. That was weird because the server wasn't under pressure.

I then tried the same basemaps in a javascript viewer and the basemap flew when going from level 1 through level 10.

I did more analysis and found that if you use the navigation scales in the flex viewer, it actually is very responsive from going from level 1 to 10 rapidly.
And the same could be said for using the zoom in and zoom out tool...it works rapidly.

I then tried these same processes on our current server....same results.
And I tried it in both flex viewer 2.3.1 and 3 and no difference.

I can tell that when you roll through, the flex viewer request each level of the cache. Is there anything I can do to stop that (and that cold be implemented in future) and only request the basemap layer if the users has actually stopped at that level?

Thanks,
Todd

Dynamic map service layer not working as expected in Flex Viewer 3.1

$
0
0
I've got a custom widget I'm using in Flex Viewer 3.1 that runs a geoprocessing service async. and then gets back as an output a REST url of the map service that the geoprocessing service created. The custom widget adds the dynamic map service layer to the flex viewer map with the following code:

gsLayer = new ArcGISDynamicMapServiceLayer(parameterValue.value.toString());
gsLayer.name = servicename;
map.addLayer(gsLayer,-1);

Where servicename is a string variable containing the REST url.

The dynamic map service layer contains about 50 feature layers. The map service layer name will appear in the Map Switcher widget toc, and the layer is displayed in the flex viewer. But, the Map Switcher toc does not list any of the feature layers of the dynamic map service, and if the map service check box is unchecked and then re-checked, the layer will not reappear in the flex viewer. This is not how it worked in Flex Viewer 3.0. In 3.0, all feature layers were available in the Map Switcher toc. Is there a limit to the number of features layers that Flex Viewer 3.1 will use? Or is something else going on?

Thanks.

ExportMap 3.1.3

$
0
0
I've updated to version 3.1.3 of this widget. I have tested this version on IE, FF, and Chrome. I cannot see a difference in the behavior of the widget relating to the checkboxes being checked or not. If I uncheck the "Include Widgets", the export looks the same as if I would have it checked.
Has anyone else experienced this? or am I not understanding what the checkboxes mean?

Thanks
Eric V
Gurnee, IL

help view arcgis flex

$
0
0
good day someone could help me? I want to insert the view in a flex arcgis <s:panel> but I get the following error window WidgetManager (Error # 2036)
I want to insert this code in a <s:panel>

<s: Application xmlns: fx = "http://ns.adobe.com/mxml/2009"
xmlns: s = "library :/ / ns.adobe.com / flex / spark"
xmlns: viewer = "com.esri.viewer. *"
xmlns: managers = "com.esri.viewer.managers. *"
pageTitle = "ArcGIS Viewer for Flex">


<fx:Metadata>
[ResourceBundle ("ViewerStrings")]
</ fx: Metadata>

<viewer:ViewerContainer id="viewerContainer">
<viewer:configManager>
<managers:ConfigManager id="configManager"/>
</ viewer: ConfigManager>
<viewer:dataManager>
<managers:DataManager id="dataManager"/>
</ viewer: DataManager>
<viewer:mapManager>
<managers:MapManager id="mapManager"/>
</ viewer: MapManager>
<viewer:uiManager>
<managers:UIManager id="uiManager"/>
</ viewer: UIManager>
<viewer:widgetManager>
<managers:WidgetManager id="widgetManager"/>
</ viewer: WidgetManager>
</ viewer: ViewerContainer>

</ s: Application>

Currently only shows me the map but does not show me any tools.

Features Not All Showing Up

$
0
0
I have a Flex Viewer (2.4) application that I am trying to add some layers to. I published a map service of these layers but the problem is that only some of the features of the layers are showing up. With the parcels, for instance, only a few would show up and it's very random which one shows up. Sometimes none shows up at all. There are no queries tied to the layer whatsoever for it to only show some randomly.

Here's a little bit of background. I am publishing the map service using 10.1. Right now, I have one layer (parcels) in the map document, but do plan to add more. The layer is set to not show when zoomed out beyond 1:6,000 and in beyond 1:100. I have not set any labels and the symbology is ESRI Optimized hollow. When publishing as a service, I have changed the following and left the rest at default:

Parameters:
Anti-Aliasing: Fastest (and I've tried others as well)

Capabilities:
-Unchecked KML and left Mapping

Pooling:
Minimum number of instances per machine: 0

Processes:
Run instances of this configuration: ....(low isolation)

Has anybody experienced this issue at all? Please see accompanying image.Attachment 22236

Please let me know if any of you need more info about my issue.

Thanks in advanced!
Attached Thumbnails
Click image for larger version

Name:	sample.JPG‎
Views:	N/A
Size:	38.9 KB
ID:	22236  

Deactivate zoom button on zoom

$
0
0
Currently in the navigation tool, If I select the zoom in or zoom out buttons, it will remain active until I click on the pan button again.

Is it possible to have the zoom in/out button deactivate itself after a zoom has been performed, or have it deactivated when another widget is opened?

investigating more, I see that most widgets seem to override it somehow, but, the Elevation profile widget does not. Is a little confusing when you zoom into an area, grab the elevation profile tool and draw you profile line. It ALSO zooms in to the extent of the box drawn when drawing the line (I.e. both tools are active and functioning at the same time).

anyway, any idea how to disable it either when the Elevation Profile widget is active OR, after perfoming a zoom operation?

R_

Error 401.3 "Please check your Web Server Base Folder URL" issue resolved

TOC 3.1.4 & 3.1.5

$
0
0
I have Robert's TOC 3.1.3 widget working fine. I tried applying 3.1.5-using out of the box(compiled) files and my TOC is empty. I also tried the OOB 3.1.4 and still my TOC is empty.
I do not have secure services, yet, and would like to get this widget working.

Any one else see this behavior?
Thanks
Eric V
Gurnee, IL
Viewing all 2097 articles
Browse latest View live