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

Identify Widget pop up strange icon for hyperlink flex 2.5

$
0
0
Hi All,

I am using flex 2.5 and trying to hyperlink each feature to a photo. The link works and the photo pops up, however in the pop up I am getting a strange box.
Under my list of fields I get an empty box as if the image should be displayed there but its not. Inside the box is a tiny icon (image can not be displayed type icon). When I click on the icon inside the box it opens the image.

Any ideas how I get the image to show in the pop up box or get the empty box to disappear all together?

Thanks
Harriet

Add gdb Feature Layer widget

$
0
0
I would like to have a widget that allows the user to upload a feature layer from a gdb to the web application. Does anyone know of one that exists?

Format Numbers in Popup GUI in Viewer for Flex 3.3?

$
0
0
Within ArcGIS Viewer for Flex 3.3, can one format numbers within the pop-up Configure GUI, under the Custom tab? For example, the value for "KEY_1" will appear "bold" if entered as follows:

Key Number: <b>{KEY_1}</b>

Specifically, I don't want commas appearing within certain numbers, and wish others to only display to two decimal places. If accomplished by editing the .xml file relating the pop-up for this feature, I believe the following statements would apply (although my map acts a little quirky when I put these statements in):

<field name="KEY_1" alias="Key Number:" visible="true"> <format usethousandsseparator="false"/> </field>

<field name="Shape.area" alias="Shape.area (sq.ft.): " visible="true"> <format precision="2"/> </field>

I would rather accomplish this within the GUI if it's possible.

Thank you, in advance, for any assistance.

change symbology of popup feature graphic

$
0
0
I'm wondering if anyone knows how you can change the way the feature is highlighted in the map when the user clicks on a feature from a layer that is configured to have popups. Currently it displays the feature with a cyan glow to depict the highlighted feature

Thanks,
David

Need Help Compiling Fresh 3.3 Download

$
0
0
I just downloaded a zip of 3.3 from GitHub and the 3.3 API from ESRI. I imported the zip file into Flash Builder 4.7 and copied agslib-3.3-2013-04-24 to the project libs directory. The Flex SDK is set for 4.6. I did a clean then build and I am left with following 24 errors. Can anybody help?

Description Resource Path Location Type
1046: Type was not found or was not a compile-time constant: DoubleField. GPInputDoubleParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 37 Flex Problem
1046: Type was not found or was not a compile-time constant: DoubleField. GPInputLinearUnitParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 78 Flex Problem
1046: Type was not found or was not a compile-time constant: IntegerField. GPInputLongParamItemRenderer.mxml /FlexViewer/src/widgets/Geoprocessing/renderers/input line 37 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. LayerCreator.as /FlexViewer/src/com/esri/viewer/managers line 326 Flex Problem
1067: Implicit coercion of a value of type String to an unrelated type Number. OverviewMapComponent.mxml /FlexViewer/src/widgets/OverviewMap line 294 Flex Problem
1119: Access of possibly undefined property outScale through a reference with static type com.esri.ags.tasks.supportClasses:PrintParameters. ExportWebMapForm.mxml /FlexViewer/src/widgets/Print line 111 Flex Problem
1120: Access of undefined property CalendarField. AttributeTableWidget.mxml /FlexViewer/src/widgets/AttributeTable line 883 Flex Problem
1172: Definition com.esri.ags.skins.fieldClasses:CalendarField could not be found. AttributeTableWidget.mxml /FlexViewer/src/widgets/AttributeTable line 51 Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.CalendarField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass1'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.CodedValueDomainField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass0'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.DoubleField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass2'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.DoubleField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass7'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.IntegerField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass3'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.IntegerField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass8'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.LabelField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass4'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.MemoField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass5'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.RangeDomainField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass6'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.StringField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass9'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.TextField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass10'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem
Unable to locate specified base class 'com.esri.ags.skins.fieldClasses.TypeField' for component class 'widgets.Edit.EditWidgetAttributeInspectorSkinInnerClass11'. EditWidgetAttributeInspectorSkin.mxml /FlexViewer/src/widgets/Edit Unknown Flex Problem

Query Widget - Filter Results

$
0
0
Ok, I have become completely lost trying to configure the Query widget. The basic set-up I grasp, but in the help section it shows the Louisville Police Query widget with a 'Filter results' and 'Show all' feature.

Bluntly, how do I do this???? I have tried the sample code, and that does not give me the results that I am looking for.

I would like to query the data that I have already assembled, and the output is very straightforward. I would like to query by an existing field, have it return all results for that field, and then have the user be able to narrow the results to a single specific value.

As always, any and all help is sincerely appreciated!!

Print Solution

ArcGIS Viewer 3.4 for Flex released July 3, 2013!!

$
0
0
Today we've released version 3.4 of the ArcGIS Viewer for Flex.

Read the details in the What's new in 3.4.

This release focused on data validation, Portal for ArcGIS, ArcGIS for Organizations, and ArcGIS Online integration, in addition to map and legend updates (to name just a few.)


For a complete list of "what's new" in addition to updated concepts/documentation, please refer to the ArcGIS Viewer for Flex main community page and What's new in 3.4.

Enjoy!

identify widget 3.2

$
0
0
I am having issues with the identify widget

here is a copy of the rest services fields :


gs_consumer_type ( Type: esriFieldTypeSmallInteger, Alias: gs_consumer_type )
gs_meter_number ( Type: esriFieldTypeString, Alias: gs_meter_number , Length: 15 )[/B]
gs_service_number ( Type: esriFieldTypeString, Alias: gs_service_number , Length: 25 )
gs_service_map_location ( Type: esriFieldTypeString, Alias: gs_service_map_location , Length: 30 )
gs_account_number ( Type: esriFieldTypeString, Alias: gs_account_number , Length: 50 )
gs_name ( Type: esriFieldTypeString, Alias: gs_name , Length: 50 )
gs_service_status ( Type: esriFieldTypeInteger, Alias: gs_service_status )
gs_phase ( Type: esriFieldTypeString, Alias: gs_phase , Length: 3 )
gs_subtype_cd ( Type: esriFieldTypeInteger, Alias: gs_subtype_cd )
gs_comments ( Type: esriFieldTypeString, Alias: gs_comments , Length: 100 )
gs_substation ( Type: esriFieldTypeString, Alias: gs_substation , Length: 15 )
gs_feeder_number ( Type: esriFieldTypeString, Alias: gs_feeder_number , Length: 3 )
gs_outg_cd ( Type: esriFieldTypeSmallInteger, Alias: gs_outg_cd )


Here is a copy of the code modificiation for my services


</labels>
<useproxy/>
<layers onlythese="true">
<layer>
<name>Meter</name>
<id>7</id>
<url>http://aries:8399/arcgis/rest/services/mainmap/MapServer</url>
<fields>
<field name="gs_meter_number" alias="gs_meter_number"/>
<field name="gs_service_address " alias="gs_service_address "/>
</fields>
<links>
<link includeinresults="false" field="Website" alias="View Website" tooltip="Click to View Website">
<linkprefix/>
<linksuffix/>
<iconfield/>
<iconprefix/>
<iconsuffix/>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
</layers>

I get nothing returned when and the only portion of the tool that works is the poly :

Please tell me what I have set up wrong:

Mark

HeaderController Widget Config.

$
0
0
I'm rebuilding my old Flex Viewer 2.3.1 to the newly minted 3.4 version. I love the new search box! It appears that you can have more than one map service searched at one time based on the use on the config file syntax of <mapservices> being plural. I can't seem to get it to work. So before I go crazy, is this actually possible?

After some more trial and error, I got it to work with a polygon layer. So it's either a problem of not liking a points layer or not liking a layer joined to a table.

Code:

      <mapservices>
            <mapservice>
                <url>http://gis.co.wood.wi.us/gis/rest/services/FlexGIS/LandRecordsWGS/MapServer</url>
                <layerids>8,10</layerids>
                <searchfields>PARCELNO,Adddress,TWPRNGSEC,OwnerName</searchfields>
            </mapservice>
        <mapservice>
                <url>http://gis.co.wood.wi.us/gis/rest/services/FlexGIS/AddressesWGS/MapServer</url>
                <layerids>0</layerids>
                <searchfields>WebData.DBO.SiteAddresses.NEWSTR</searchfields>
            </mapservice>
        </mapservices>

Search Widget returning all related records

$
0
0
I have a map service in which there are 2 feature classes. Essentially one is a set of polygons and the other is an aggregation of contiguous polygons; a unique ID is assigned to each grouping of contiguous polygons and these polygons are related to the un-aggregated ones. The short way to explain this is a 1:M relationship.

Even though i'm querying the aggregated polygons as the target map service (but using the related attribute fields as query fields), the results contain every record which matches, rather than just the single value contained within the aggregated feature class.

Is this expected behavior?

Data Extract Widget needs the scroll bar back for multiple layers.

$
0
0
I have over 25 layers in my service that I want users to be able to extract from my service. The Flex 2.1 data extract widget had a scroll bar inside of the Step 2 portion of the widget. This would allow users to scroll through several layers and select the ones they wanted to extract. Since Flex 2.2 this scroll has been missing from the widget.
It is now one large scroll for the entire widget. Can the ESRI development team please add the scroll bar back inside of Step 2, so if you have several layers users can select the layers that are toward the bottom?

Please see attached picture.

Mike
Attached Thumbnails
Click image for larger version

Name:	DataExtract_Scroll bar.jpg‎
Views:	N/A
Size:	44.3 KB
ID:	25709  

FV 3.4 - The input contains invalid characters

$
0
0
Hi,
Today I've upgraded flex viewer from 3.3 do 3.4. Everything was working fine until 3.4.
While I'm trying to edit a feature service, edit windows appears, I can edit features' attributes except float or doubles. When I'm filling double or float attribute ie. by numbers 4, 5, 6 or 10, it automatically transforms to 4.00, 5.00, 6.00 and 10.00 and near text field error appears saying:


And I cannot update my data.

PS.

While "The input contains invalid characters" is active, I cannot update my feature. But when I click CANCEL button (X in top right corner), edit window tells me that object was updated :S

Stop header controller search using default geocoder

$
0
0
Hi,

I apolgise if this has been answered before but i have looked and cannot see the answer anywhere. I have set up the search box in the header controller to search against a layer in one of my map services but it always searches using a geocode service on arcgis.com as well. Is there a way to stop this.

Any help appreciated, I am using the compiled version on 3.3

Newbie Looking at fixing a widget

$
0
0
Hi all,

I am pretty new to this whole Flex viewer and Widget stuff, (2 days and no training!) I am manging to get through but I am having a real issue with one of the widgets that I inherited!

Essentially the Address Finder widget (an Autocompletesearch) is failing to search when an address in inputted. I have checked the URL for the service is correct and upto dat but still nothing. Any ideas would be appreciated.

view multiple sites with in same browser

$
0
0
Hi All,

We have 3 flex viewer applications running. Our client want them to shown in current development viewer 3.2 application. When user click on menu1 it should show the first site (can not open in separate web browser) and subsequently remaining sites. It is similar to switch map like basemap etc., Could please any one give me direction how can achieve this requirement.

Regards
Johnson

Open Street Map Rest endpoint

$
0
0
I can't find where the coding is for this to make it the default street map in my config file; similar to what's below. Any help?

<layer type="tiled" label="Streets" icon="https://www.arcgis.com/sharing/rest/content/items/d8855ee4d3d74413babfb0f41203b168/info/thumbnail/tempstreets.jpg" url="http://services.arcgisonline.com/ArcGIS/rest/services/Street_Map/MapServer" visible="true"/>

Load Testing

$
0
0
Has anyone load tested an ArcGIS Viewer for Flex based application? If so, how did you do it?

Thanks,
Aaron

eSearch Graphical Search Problem

$
0
0
A strange thing has just started happening with my eSearch widget when using the graphical search method. I can do a graphical search using any of the drawing tools without problems, but when I add a buffer to the the search it throws me the following error:
[RPC Fault faultString="Unable to complete operation." faultCode="400" faultDetail="Invalid URL"]. If I uncheck the buffer graphic option it works fine.

I have several viewers that all worked just fine prior to last week. Not sure if it is something I did, or if it is a buffer geoprocessing error. Robert.... any thought on this one. I can replicate this on your eSearch example site when searching for Calhoun parcels. Any thoughts would be greatly appreciated.

Matt

How to disable scroll wheel zooming

$
0
0
Hi all,

I am trying to disable scroll wheel zooming in a map using the Viewer. In other straight API applications I was able to accomplish this by using the scrollWheelZoomEnabled="false" property on the map.

Is there a Viewer equivalent to this?

Thank you!

David
Viewing all 2097 articles
Browse latest View live