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

Attribute Table 3.1

$
0
0
The Attribute Table 3.1 works great with the exception of "Zoom to selected features" option. Is there a tag I should be using that is not included? I would appreciate any help.

Mehrshad

Attribute Table Widget Bug

$
0
0
I think I have found a bug in the attribute table widget in regards to editing functionality.

When selecting an attribute to edit that has a domain value, the dropdown list opens with all possible values available. You can select a value and everything seems to work. If you open the dropdown list and decide you don't want to change the value, you can click the arrow again and close the list. This appears to work correctly but when you click off of that field the set value goes blank and you lose your attribute value.

This behavior is very problematic for me. If a user accidentally opens a list and wants to make sure they don't affect the value in it, the first reaction is to close the list without changing the value.

Any suggestions on a fix for this?

No Popup with this Rest Service! Flex viewer 2.5 and 3.0

$
0
0
Tried this with both 2.5 and 3.0. I can never get a popup to open despite trying the following in config.xml:

Doesn't show layer or popup:
<layer label="Civil Affairs Operating System" type="feature" visible="true"url="https://geoint.usace.army.mil/GISSvr/rest/services/CAOS/WCID_Assessments/MapServer/0" popupconfig="popups/PopUp_CAOS.xml"></layer>

Shows layer but doesn't show popup:
<layer label="Civil Affairs Operating System" type="dynamic" visible="true" url="https://geoint.usace.army.mil/GISSvr/rest/services/CAOS/WCID_Assessments/MapServer" visiblelayers="0">
<sublayer id="0" popupconfig="popups/PopUp_CAOS.xml"/></layer>


I don't control the above REST service, but I did notice that when you go to
https://geoint.usace.army.mil/GISSvr/rest/services/CAOS
none of the links to individual services work because they put ":443" in the url. If you type the URLs in yourself without ":443" you can drill down to the services. I know port 443 is https, but I wonder if this behavior has anything to do with my popup problem.

The PopUp_CAOS.xml is:
<?xml version="1.0" ?>
configuration>
<title>{PLACE_NAM}</title>
<description>
<![CDATA[<b>{PLACE_NAM}</b><br/>Category: <b>${CATEGORY}</b>]]>
</description>
<fields>
<field name="PLACE_NAM" visible="true"/>
<field name="CATEGORY" visible="true"/>
</fields>


</configuration>


THanks!

Steve

Mouse cursor change over feature layer

$
0
0
Greetings to all!
I have a point feature layer with defined pop-ups. Is it possible to change the default cursor (the little hand) to something else, when the cursor goes over the "active point"? There are only these points and tiled base map.
I am using the 2.5 version.
I have been searching the forum, but did not find anything to help.
Thank you in advance.
Jan

I HATE IE

$
0
0
eventhough this may not be the appropriate place to post this question I am running out of options so I'm doing it anyway!

I have set up a new 3.1 project in flash builder 4.6. I have a central landing page where the user can choose from 3 apps (configured via .xml) and then also specify to go to the Public version or the Admin Login version. I made this happen using two index.html files - one I called index.html and the other (used for the admin apps) is called index2.html. In flash builder I had to setup each module to not be optimized for a particular application so that when I build the project I can build/compile both index files at once.

Everything worked great just the way I had planned it...and then I tried it in the dreaded IE. The admin sites (which use index2.html) will take the user to a login screen (which still works in IE), but then after logging in everything loads (static images, header, widgets, etc...) But the actual basemap and operational layers will not load. My scalebar in IE shows an NaN KM and blank for the lat/lon.

I went to my server and added index2.html to IIS default docs, tried every possible combination of IE/compatability mode/popup blocker/security settings...

And, my two index files are identical other than one has the state="Viewer" and the index2.html has state="Login". Wouldn't be a big deal but so many people are still using IE it's incredible!

I should note that this all works flawlessly in Chrome and FireFox...

Thank you for Any insight into this!

intelligent widget Search

$
0
0
I would really love to have a more intelligent widget where any key input you give immediately gets matched against domain values, check e.g. the website below:

If you type AM then your list will get filtered to any airport name that starts with AM – see screen cap below.

Would this be possible?

http://www.klm.com/travel/om_en/index.htm

Adding multi-layer ArcGIS Online feature service

$
0
0
Hi,

I was wondering if anyone could help me set up config.xml correctly to reference an ArcGIS Online feature service with three sublayers, since I haven't been able to get the data to appear in the viewer.

I tried the following to no avail to incorporate all three sublayers:

<layer label="Northern Pike" type="dynamic" visible="true" alpha="1"
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer">
</layer>

I then tried to do for a single sublayer to see if type="feature" would make it work:

<layer label="Northern Pike" type="feature" visible="true" alpha="1"
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer/0">
</layer>

Any suggestions?

Thanks in advance for your help!

pop-up

$
0
0
I created a pop-up xml document and all of the fields populate correctly in my application except one. The LABELS field had been assigned a sentence-case alias in the mxd/msd, so I changed the alias to all capital letters to match the field name. This still didn't work. I even deleted the original LABELS field and created a new one with no alias and republished the map service, but the pop-up still doesn’t read the values. Any suggestions? Here's my pop-up xml:

<?xml version="1.0" ?>
<configuration>
<title>Each barrier is ranked by its ability to reconnect the most spawning habitat for Northern Pike for the least cost. In some cases multiple barriers must be repaired together to provide the estimated habitat gain. These grouped barriers have the same ranking, followed by an asterisk.</title>
<description>
<![CDATA[<b>Stream: {STREAM}<br>Priority Rank: {LABELS}<br>Est. Cost to Make Passable: ${INTEGER_COST}<br>Ownership: {OWNER}<br>Fish passability: {FISH_PASSABILITY}<br>Problem for fish: {PROBLEM}]]>
</description>
<fields>
<field name="STREAM"/>
<field name="LABELS"/>
<field name="INTEGER_COST"/>
<field name="OWNER"/>
<field name="FISH_PASSABILITY"/>
<field name="PROBLEM"/>
</fields>
</configuration>

Problems with Flex 3.1

$
0
0
Hello,

I recently upgraded from Flex 3.0 to 3.1 and came across a number of problems:

1. I suddenly couldn’t use my own basemaps in combination with operational layers anymore. My basemap would only show until I added operational layers – these wouldn’t show on my basemap. Things seemed to overlay fine when using the ESRI basemaps. I solved that problem by changing wraparound180 to false,
2. My logo that was fine in 3.0 is completely distorted in 3.1
3. All popup windows and drop-down menus as well as the header bar are suddenly white with white writing. Is there an easy fix?
4. Trying to set a new extent once operational layers have been added ends in a complete freeze of the application.

Is there an easy fix to these problems or should I go back to 3.0 and wait for a new / less buggy release?

Thanks and cheers,

Jana

Browser caching in Flex Viewer 3.1 Application

$
0
0
I have found a lot of solutions to prevent caching on the client side, but not for Flex Viewer 3.1. Does anyone know how to disable the client side caching in 3.1. We are creating an Application that the general public can use, but that I will need to make regular updates to. For those clients that may use the application repeatedly, I want to make sure that they are always seeing the updated version and not what is cached on their computers. Any help would be greatly appreciated!

Enhanced Locate Widget

$
0
0
All,

I have released my Enhanced Locate Widget.

This enhanced version allows you to do reverse geocoding and locate coordinates that are in a different WKID than the map. Users can specify additional spatial references for the locate coordinates portion of this widget.

http://www.arcgis.com/home/item.html...cf150f4f316775

eLocate Widget Reverse Geocode coordinate

$
0
0
Robert:
When using the eLocate widget, Reverse Geocode capability, it returns the x,y coordinate values in map units; but the labels are "Longitude (x), Latitude (y)". They should either be x & y or the coordinates should be in Lon/Lat. Your online map displays the same behavior.
Great tool by the way!

unable to open arcgisviewer application

$
0
0
I am student and I developed an arcgisviewer application on my laptop using IIS. The minute I enter my school campus and wanted to show the application what I developed, the arcgisviewer is not loading and ask me to check the root folder. Everything works fine at home under the same root folder. I am not able to figure out how to resolve this issue. My school has CISCO network and I am wondering if this is causing any problems or it may be other. Can anybody help me to resolve this issue please.


Thanks
vijay

Panel Width

$
0
0
I have placed a widget panel on the right hand side of my application window to hold the layerlist widget but i want to make it wider. I have tried putting in width="300" in the widget container tag but the width does not change:

<widgetcontainer paneltype="right" initialstate="collapsed" width="300">

Am I missing something.

Thanks

Harold

TypeError: Error #1009: Cannot access a property or method of a null object reference

$
0
0
I am getting the following error when using the query widget at 3.1 and server 10. I have the latest Flash Player installed.

Code:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at widgets.Query::QueryWidget/mouseOverQueryResult()
        at widgets.Query::QueryWidget/___QueryWidget_QueryResultDataGroup1_queryResultMouseOver()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.core::UIComponent/dispatchEvent()
        at widgets.Query::QueryResultItemRenderer/itemrenderer_mouseOverHandler()
        at widgets.Query::QueryResultItemRenderer/___QueryResultItemRenderer_ItemRenderer1_mouseOver()

I can query my REST endpoint fine and get a result back, but in my application I get the error above?

FeatureTooltip widget version 3.1

$
0
0
Hi,

A user pointed out to me that the tooltip doesn't display for some parcel.
What could be the problem ?
I have traced "toolTip" ligne 110 and informations are in !
I don't understand!
Is that it could be in the MXD, an option that prevents the opening of the tooltip ?
I don't know where looking for!

Thanks for help!

EDIT: The popup doesn't display either for this parcels ...

Layer visibility and layer order in TOC not honored

$
0
0
I recently upgraded to server 10.1 and have published a number of services that I had published with 10 previously. I've rebuilt an application using the 3.1 viewer. The previous application worked just fine, it kept the order of the features the same as the mxd as well as the layer visibility. However, now with 10.1 and viewer 3.1, the layers are in reverse order and the visibility of layers is all messed up. I can't seem to figured out how to fix this. Anyone have any ideas?

Formatting Attribute Table

$
0
0
I have two questions regarding formatting the Attribute Table widget:
1. Is there a way to format fields not show all the fields, and select what I need to show?
2. Is there a way to format decimal places?

I would be grateful for any guidance!

Mehrshad

Resize More... widget in flexviewer

$
0
0
Hi all,
Is there anyway of resizing the operational layers More... Mapswitcher widget to show a few more layers?
I prefer using this to the Layer List but at the minute it only shows 6 layers and I'd like to make it slightly longer to show 8- 10.
I'm using Flexviewer 3.0.

Thanks

Rachel

delete top bar

$
0
0
Hey everybody, i would like your help in something thats i guess is simple but i dont still find the damn code, im working on a proyect that has arcgis viewer for flex as template, but im changing some attributes. I have this top bar: Attachment 21990

that i dont know how to delete it...please i would like to know just where is the bar or the reduced map extent code to fix it and can see it along all page...

Thanks in advance

Rinat
Attached Thumbnails
Click image for larger version

Name:	Sin título.jpg‎
Views:	N/A
Size:	117.6 KB
ID:	21990  
Viewing all 2097 articles
Browse latest View live