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

Create Dynamic Map Services Using ArcGIS for Desktop or ArcGIS Online

$
0
0
Hello,

Could someone please confirm if it's possible to create a dynamic map service using either ArcGIS for Desktop or ArcGIS Online (preferably ArcGIS for Desktop)? We do not have ArcGIS for Server. We would like to utilise the more flexible organisation of layers in the Layer List widget or TOC widget that a dynamic map service would provide (i.e. sub-groups).

Many thanks in advance,

Joel

Customizing AttributeTableWidget

$
0
0
Hi,
I'm working on customizing the AttributeTableWidget to show attributes from different featurelayers added from other widgets, this is working already if the results is shared, but I have some modifications I want to do.
One modification I want to do is to always show all attributes from all the features in a featurelayer, and not only the ones that are within the current map extent. Going through the AttributeTableWidget it seems like that functionality is not written in the widget but in the AttributeTable component in the API. Can someone confirm this?
Is there anyway to make that modification to the AttributeTable? I've also looked at the AttributeTableSkin.mxml without success...

Does anybody have the Load ShapeFile widget for Flex viewer 2.5 or less version?

$
0
0
I was looking for Load Local ShapeFile widget for API 2.5 and I haven't found it yet. I appreciate your help.

Thanks in advance!

Draw Widget - Measure in Nautical Miles

$
0
0
Has anyone attempted to create a custom Draw tool that could measure in Nautical Miles?
I've searched Hi and Low through the documentation and it doens't appear to be a configurable option.
Does anyone know why that may be?

Thanks for any input,
Susan

Flex 3.0 Chart Widget Configuration

$
0
0
Hi All,
I am tring to configure the basic Chart widget shipped the 3.0 viewer as follows:
I have a point feature class (2900 objects) with several attributes including a STATUS (Secured, In Progress, Rejected or Dead). I am trying to create a chart that shows me how many of each type base on the selected features. I want the bars on my chart to represent the STATUS and the length of the bars to be the count of that status. I only seem to be able to get a value for each point.
Thanks

Accessing Joined Table in Flex Viewer

$
0
0
I'm trying to add a field from a JOINED table to the list in the info window from a layer of type "feature" using the Attachment Relate Info Widget. The field does not show up in the window, I just get "undefined" in the info window. I have tried using the field name from the join table as well as the entire table and field name.

From everything I've read about this widget and others, I am not sure if this is possible or not. Anyone have an idea? Thanks, and I apologize if this has been answered, I haven't found it if it has.

Thanks!

Identify 3.1.2f Question

$
0
0
I am in the process of updating to the 3.1.2f version of the Identify widget. I have modified my xml per the instructions. I get no reaction from the widget when I click on the map. I can pull up the Widget and choose the selection method and the layer I wish to Identify, but there is no reaction in the application when I click in the map window. I get no errors in my application.
Any ideas?
Thanks much
Eric V
Gurnee, IL

Below is a sample of my updated xml:

<layers onlythese="true">
<layer>
<name>Parcel Lines</name>
<id>11</id>
<url>http://gis-srv3.village.gurnee.il.us:6080/arcgis/rest/services/Parcels/MapServer</url>
<fields>
<field name="ims_sde.DBO.tax_parcels.PIN" alias="PIN"/>
<field name="ims_sde.DBO.tax_parcels.GURNEE_ZONING" alias="Zoning"/>
<field name="ims_sde.DBO.parcel_info.ADDRNO" alias="Address"/>
<field name="ims_sde.DBO.parcel_info.STNAMEPRD" alias="Street Dir"/>
<field name="ims_sde.DBO.parcel_info.STNAME" alias="Street"/>
<field name="ims_sde.DBO.parcel_info.STNAMEPOT" alias="Street Type"/>
<field name="ims_sde.DBO.parcel_info.SITUSCITY" alias="City"/>
<field name="ims_sde.DBO.parcel_info_owner.FIRSTNAME" alias="Owner First Name"/>
<field name="ims_sde.DBO.parcel_info_owner.MIDNAME" alias="Owner MI"/>
<field name="ims_sde.DBO.parcel_info_owner.LASTNAME" alias="Owner Last Name"/>
<field name="ims_sde.DBO.parcel_info_owner.ORGNAME" alias="Owner Organization"/>
<field name="ims_sde.DBO.parcel_info.BILLTONAME" alias="Bill-to Name"/>
<field name="ims_sde.DBO.parcel_info.BILLADDR1" alias="Bill-to Addr"/>
<field name="ims_sde.DBO.parcel_info.CITY" alias="Bill-to City"/>
<field name="ims_sde.DBO.parcel_info.STATE" alias="Bill-to State"/>
<field name="ims_sde.DBO.parcel_info.ZIP5" alias="Bill-to Zip"/>
<field name="ims_sde.DBO.parcel_info.ACREAGE" alias="Acreage"/>
<field name="ims_sde.DBO.parcel_info.SHORTLEGAL" alias="Legal"/>
<field name="ims_sde.DBO.parcel_info.DOCNUMBER" alias="Doc Number"/>
<field name="ims_sde.DBO.parcel_info.DOCDATE" alias="Doc Date"/>
<field name="ims_sde.DBO.parcel_info.IMPROVALUE" alias="Imprv Value"/>
<field name="ims_sde.DBO.parcel_info.TOTALVALUE" alias="Total Value"/>
</fields>
<links>
<link includeinresults="true" field="ims_sde.DBO.tax_parcels.PIN" alias="Tax Maps" tooltip="Tax Map">
<linkprefix>http://oldapps.lakecountyil.gov/gis/MapGallery/MapsInqPin.asp?pin=</linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix>assets/images/map.png</iconsuffix>
</link>
<link includeinresults="true" field="ims_sde.DBO.tax_parcels.PIN" alias="Tax Bill" tooltip="Tax Bill">
<linkprefix>http://apps01.lakecountyil.gov/sptreasurer/collbook/collbook2.asp?PIN=</linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix>assets/images/money.png</iconsuffix>
</link>
<link includeinresults="true" field="ims_sde.DBO.tax_parcels.PIN" alias="Assessment Info" tooltip="Assessment Info">
<linkprefix>http://assessor.lakecountyil.gov/Assessments/pages/by-PIN.aspx?Pin=</linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix>assets/images/house.png</iconsuffix>
</link>
</links>
<zoomscale>2400</zoomscale>
<returngeometryforzoom>false</returngeometryforzoom>
<forcescale>true</forcescale>
</layer>

eSearch 3.0 SimpleFillSymbol Outline Problems

$
0
0
Hello,

I am having trouble with the simplefillsymbol outline in the eSearch widget. For project purposes I have set the alpha level to zero on the simplefillsymbol so that I could have no fill, but just the outline. However, when running a search the selected feature appears to be mixed with black or a drop-shadow. For blank testing I have used a simple white outline, but it returns gray on the selected item when the outline should just be white. The alpha level on the outline is set at 1.0. Heck, I even disabled all layers being loaded and just ran the eSearch. Still the same result. Also I've set symbology on each layer and the same thing happens. On top of all that I've even reinstalled the eSearch widget just in case. I am at a loss on this situation and any help is appreciated.


Thanks,
Aaron

Problems with using AttributeTable with search results from different search layers

$
0
0
I'm using the AttributeTableWidget with search results by setting <shareresults>true</shareresults> in the search widget config-filen. And I've added a line of code to the searchWidget from this post.
Search results from different search layers are not displayed correctly. The attributes/fields in the Search-tab are set by the first search, when making a new search from another search layer the table is filled with a new set of rows, but it's the same fields so they are empty if the second search layer has different fieldnames than the first one.

For example, if I start to search from the layer Louisville Police Ficilities the result will display correctly in the table showing the attributes NAME and ADRESS. Then I make a new search from the Louisville Parcels and the table gets updated but still shows the NAME och ADRESS attributes which are empty since the Parcels doesn't have those attributes. There's a screenshot from this example attached...
I assume this is not how it's supposed to work since it gets kind of useless to use the AttributeTableWidget together with the searchWidget if you use more than one search layer. The fields in the table needs to get updated when the attributes of the feature layer gets updated.
Attached Thumbnails
Click image for larger version

Name:	attributetable.jpg‎
Views:	N/A
Size:	126.0 KB
ID:	22286  

Draw widget - customize point symbol

$
0
0
hi,

it's possible to change point symbol in draw widget with customize symbol for example test.png? Any help would be greatly appreciated.

Thank

Static Image disappears when ThematicQueryWidget is activated

$
0
0
I have a ThematicQueryWidget and StaticImageWidget running in 3.1. Whenever I activate the ThmaticQueryWidget, the static image disappears! Can anyone help me solve this problem? I appreciate any advice.

Thank you,
Mehrshad

Background Color

$
0
0
Is there a way to change the background color of the application? I am using my Parcel layer as my basemap and would like the change the background to something that is a little bit easier on the eyes.

Problem with PopUps in Flex Viewer

$
0
0
I'm having a difficult time displaying information on layers that I have in my flex viewer application. I have set up the configuration file to show the certain fields in the pop-up, but there are no corresponding information in those fields, even though I know that there are attributes to them.

Here it is:
Attachment 22295

Here's the XML for that particular pop-up named PopUp_Parcels.xml:

<?xml version="1.0" ?>
<configuration>
<title>GPIN: {GPIN} </title>
<fields>
<field name="NAME" visible="true" />
<field name="ST_NO" alias= "STREET NO." visible="true" />
<field name="ST_ALPHA" alias= "STREET ALPHA" visible="true" />
<field name="ST_NAME" alias= "STREET NAME" visible="true" />
<field name="ST_TYPE" alias= "STREET TYPE" visible="true" />
<field name="CITY" visible="true" />
<field name="ZIP" visible="true" />
</fields>
<showattachments>false</showattachments>
</configuration>

<!--
Pop-up configuration file for:
http://sampleserver3.arcgisonline.co...eatureServer/0

See pop-up documentation at
http://links.esri.com/flexviewer/popups


<field name="STATUS" visible="True"/>
-->

And here's the section of the config file where I've added this xml:

<layer label="My Layers" type="dynamic" visible="true" mode="snapshot"
useproxy="false"
url="http://..../MapServer">
<sublayer id="3" popupconfig="popups/PopUp_Parcels.xml"
/>
</layer>


Am I missing any steps to get this working fine?

Thanks!
Attached Thumbnails
Click image for larger version

Name:	sample1.JPG‎
Views:	N/A
Size:	35.4 KB
ID:	22295  

Java Print SOE error prevents maps with dawn graphics from printing

$
0
0
Hi all,

I would like to use TomLUX's Advanced Print Solution but have run into a problem when trying to print with graphics drawn on the screen. I get the following error message when the graphic is a polygon:

Code:

ReferenceError: Error #1069: Property textFormat not found on lu.etat.pch.gis.widgets.pchPrintWidget.json.AgsJsonSimpleFillSymbol and there is no default value.
        at lu.etat.pch.gis.widgets.pchPrintWidget::PchJSONUtils$/encodeGraphic()
        at lu.etat.pch.gis.widgets.pchPrintWidget.utils::MapUtils$/getPrintLayers()
        at lu.etat.pch.gis.widgets.pchPrintWidget::PchPrintWidget/calculateWebMapJson()
        at lu.etat.pch.gis.widgets.pchPrintWidget::PchPrintWidget/btnPrint2_printSelectExtent()
        at lu.etat.pch.gis.widgets.pchPrintWidget::PchPrintWidget/__btnPrint2_click()

Similarly I get errors when the graphics are lines:
...Property textFormat not found on lu.etat.pch.gis.widgets.pchPrintWidget.json.AgsJsonSimpleLineSymbol...

and point:
...Property textFormat not found on lu.etat.pch.gis.widgets.pchPrintWidget.json.AgsJsonSimpleMarkerSymbol...

But NOT if the graphic is text. This happens before the printSelectedExtent function is called, so I can't figure out where I can toggle a breakpoint in debug mode to figure it out. Can someone with experience with this widget help deduce where I can make the code change to prevent this from happening? I am using the uncompiled version of the widget in a 3.0 viewer.

Thanks!

AttributeInspector

$
0
0
Is there an easy way to organize the fields into categories through a tabnavigator in the AttributeInspector? It would be nice to click a tab to view grouped attributes of similar type instead of scrolling down.

Any comments would be appreciated.

Popup in draw widget

$
0
0
Hi,

I thinking of when a user draw point using draw widget, then they click that point and a popup with a link to other webpage will appear or after user draw point using draw widget, a web page for example mypage.com in window size 400 widht 240 height appear. It's possible to do that? Any help would be greatly appreciated.

Thank

flex popup number formatting

$
0
0
I noticed that the popup configuration for numbers defaults to 000,000,000
but for my data I want it just to show up as 000000000
is there any way to change the number format in the popup? there's nothing obvious in the configuration window.

Header Controller Widget

$
0
0
Hello,
not a flex developer

I want to move this widget around I use:
<HeaderController:layout>
<s:HorizontalLayout gap="12"
horizontalAlign="right"
useVirtualLayout="true"
verticalAlign="middle"/>
</HeaderController:layout>
to move it to the right, but when you hover over the icons in the app they float to the right - and the overview map button on the bottom right of the screen goes with it as well....

where do I change padding to avoid this

thank you guys,

Problem setting up Flex Viewer 3.1 project

$
0
0
I'm trying to set-up a project in Flash Builder 4.6 that uses Flex Viewer 3.1. I downloaded the 3.1 source code (zip file), started Flash Builder, imported the flash builder project, downloaded the API library, and added the 3.1 swc from the API library into the project's libs folder. After all this, Flash Builder is generating a compiler error that says "Could not resolve <esri:Geocoder> to component implementation". Is this an issue with the API library?

Previously, I successfully set-up a project in Flash Builder using Flex Viewer 3.1. I had to remove that project because of some problems I was having on my PC. This new project I am currently having trouble with is in a different workspace from where the original project was.

ESRI Route Service for Locate Widget

$
0
0
To All FlexViewer Users and Developers:

By default from the Locate Widget download, I am using the follower routing service:

<routetasksolver>http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis/ESRI_Route_NA/NAServer/Route</routetasksolver>

According to the following url:

http://www.arcgis.com/home/item.html...17bf74b5f300fd

The above routing service is on extended support and I should use the newer World Route service instead

http://route.arcgis.com/arcgis/rest/...Route/NAServer

but when I try to access this URL or just http://route.arcgis.com/arcgis/rest/services

I get Error: Services Directory has been disabled Code:403

Does anyone know the proper URL to access this newer routing service?

Any help or hints are greatly appreciated. Thank you.
Viewing all 2097 articles
Browse latest View live