|
POST
|
I don't use a proxy server, so can't "play" with that. I know I have had some timing issues in the past as my server was attempting to resolve the IP addresses. Might be worth a shot to put the fully qualified domain name (or IP address) in for your services instead of just Vulcan" also, don't think it's related to speed, but the TOC widget documentation clearly states that you should set the mapswitcher <layerlist visible="false"> if running the TOC to avoid layer ordering issues and such. R_
... View more
10-30-2012
10:03 AM
|
0
|
0
|
1109
|
|
POST
|
I am working with uncompiled version and I also commented out the showStateResults part of the mxml. This way, I don't get the results window, just the data grid, then the popup (didn't think I needed the same info on the results window and popup). R_
... View more
10-30-2012
09:58 AM
|
0
|
0
|
2254
|
|
POST
|
Hi all - Is it possible to show different records in the results and popup windows using the Esearch Widget? I'd like to show just one or two fields in the results window, but then show all 10 fields in the popup window, including any attachments. The xml Robert provided is helpful with showing or not showing on the datagrid etc, but was wondering if I'm missing a popup component. Thanks, Meg Meg, With the eSearch widget it is possible to have just one or two fields in the results window AND popup, but then have all 10 show up in the datagrid (fixed or float). However, it looks like the popup is the only part that supports the attachments. I utilize this by having the popup with only my TitleField and ALL the pertinent information in the fixed datagrid. With interactwithdatagrid enabled, I hover over/click on the row in the datagrid, and it popups up the infowindow with TitleField and all the attachemnts that I can scroll through/select. R_
... View more
10-30-2012
09:25 AM
|
0
|
0
|
2254
|
|
POST
|
Don't know about a "table", but the chart widget has some of this fuctionality built into it: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Chart_widget_tags/01m300000048000000/ R_
... View more
10-30-2012
08:55 AM
|
0
|
0
|
849
|
|
POST
|
Ah, application builder, didn't realize that. I normally don't use that, but have installed for testing. I do not see a coordinate menu option in the out of the box application builder, so am unable to reproduce what you have done. I'll have to look into adding custom widgets to the builder if I get a chance. R_ Normally, if WKID isn't specified, it is taken from the first basemap loaded.
... View more
10-30-2012
08:32 AM
|
0
|
0
|
738
|
|
POST
|
Well, is working for the most part. It appears as if it is somehow keeping a "list" of feature classes that I have "clicked on" as once I have clicked a feature from the "Buildings" layer, it will never execute the skin_preinitializeHandler event again if I click on any other features from the Buildings layer. When i click on a feature from a layer the "first" time, it sends it through the preinitializeHandler, any subsequent clicks to "that layer" will not so I don't get my varialbes, etc. set. Any idea how to "reset" the "list" of pre-clicked features so it goes through my "if" statements each time a feature is clicked? (or, a better location for my if statements so that they do get evaluated every time I click a feature?) R_
... View more
10-29-2012
03:29 PM
|
0
|
0
|
567
|
|
POST
|
First I would navigate to C:\inetpub\wwwroot with windows explorer and see, first, if it exists, and second, if you can create a folder here with windows. If not, would be a permission issue. R_
... View more
10-29-2012
03:21 PM
|
0
|
0
|
64521
|
|
POST
|
Since you mention the "Show Measurements" checkbox, I'm going to assume that you are NOT using the "standard" Draw and Measure tool, but instead are using the eDraw tool? If so, have you edited the eDrawWidget.xml to include your geometry service AND the WKID of you map? R_
... View more
10-29-2012
11:41 AM
|
0
|
0
|
738
|
|
POST
|
I only have one attribute I want to be updatable (click on the existing feature and have a drop down selection of 1,2,3 or 4), no drawing/adding features. You might want to look at using a Domain on the dataset. That will allow you to click/select the feature with the edit widget and the attribute window pops up. If you have a domain, there is a dropdown list with the available values. If you un-check all the other fields in the mxd (not including OBJECTID and Shape), then only the "desired" field will even be available to edit. R_
... View more
10-29-2012
11:08 AM
|
0
|
0
|
2015
|
|
POST
|
Odd behaviour using uniquevalsfromfield tag. I have noticed that if you use more than one uniquevalsfromfield in an expression, it will only populate ONE of the dropdown boxes. You need to switch to a different search dropdown, then back, and it will populate the "next" dropdown. If you have three, you need to switch from/to the layer three times to get all the dropdowns to populate. Short term test map here: http://www.easbio.com/otb/ zoning layer has three uniquevalsfromfield value expressions. Need to switch back and forth to get them all to populate. R_ also, I see that the "blank" value added to the list when isvaluerequired="false" is only for the userlist. Would be a nice "enhancement" for the uniquvalue list as well. I added this to the PaginQueryTask.as as it does what I am after. However, this, of course, ALWAYS adds the blank value regardless of isvaluerequired or not. //loop over all the properties in the tempPropertyArray
distinctValuesCollection.addItem({value: " ", label: " "});
for (var propertyName:String in tempPropertyArray) {
... View more
10-29-2012
10:49 AM
|
0
|
0
|
1914
|
|
POST
|
Thought I had tried that already and it didn't work. I see now I had to strip off the .url. Seems to be working now. Thanks agian, R_
... View more
10-29-2012
10:29 AM
|
0
|
0
|
1475
|
|
POST
|
Rhett, It is simple the reason you are getting a null is that the hostComponent.featureLayer is null and this evaluate the url of the featurelayer if the featurelayer is null. Figured it was something like that (assume you mean it "can't" evaluate the url), so thought I could evaluate if it is null, and if not, then evaluate my if statements something like such: private function skin_preinitializeHandler(event:FlexEvent):void
{
// set the link styles
if (hostComponent.featureLayer.url != null){
if (hostComponent.featureLayer.url == "http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/Buildings2/MapServer/0"){
RBlayer = "Buildings";
RBlabel = "Building Labels";
}
} But I still get the null error. Do I just have my syntax wrong or am I trying to do something that is not possible? R_
... View more
10-29-2012
09:33 AM
|
0
|
0
|
1475
|
|
POST
|
Any idea why these changes break the eSearch widget popups? I created a new OTB viewer with the eSearch widget. enabled the PopupRenderSkin.mxml to customize. no problems, works just fine. However, If I add even this if statement: private function skin_preinitializeHandler(event:FlexEvent):void
{
// set the link styles
if (hostComponent.featureLayer.url == "http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/Buildings2/MapServer/0"){
RBlayer = "Buildings";
RBlabel = "Building Labels";
} and then click on one of the highlighted search results geometry (on the map, not the datagrid(s)) I get this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.esri.ags.skins::PopUpRendererSkin/skin_preinitializeHandler()
at com.esri.ags.skins::PopUpRendererSkin/___PopUpRendererSkin_SparkSkin1_preinitialize()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/initialize()
at com.esri.ags.skins::PopUpRendererSkin/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::UIComponent/addChild()
at spark.components.supportClasses::SkinnableComponent/attachSkin()
at spark.components.supportClasses::SkinnableComponent/validateSkinChange()
at spark.components.supportClasses::SkinnableComponent/createChildren()
at mx.core::UIComponent/initialize()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
at mx.core::UIComponent/addChildAt()
at spark.components::Group/addDisplayObjectToDisplayList()
at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()
at spark.components::Group/addElementAt()
at spark.components::Group/addElement()
at com.esri.ags.components::ContentNavigator/commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/validateProperties()
at mx.managers::LayoutManager/doPhasedInstantiation()
at mx.managers::LayoutManager/doPhasedInstantiationCallback() Seems odd that an "if" statement would give such an error as I expect it to just move past it since it should evaluate it to false. I have tried to disable the popup from the eSearch, and it no longer shows if I click the data grid or results, However, If I click on one of the selected features, not only do I get the above error, I also get a popup with the config info from the esearch widget and not the regular popupconfig.xml. It will show 1 of 2 and if I click the next arrow, it shows the regular popup window. any ideas what could cause this? If nothing else, is it possible to completly disable the eSearch popups (even though it looks like it is supposed to use it's own popuprenderskin)? R_
... View more
10-25-2012
05:27 PM
|
0
|
0
|
1475
|
|
POST
|
Thanks Robert, didn't think to "remove" the listener. That get's rid of my null error issues, but once I close a popup from a particular layer, it won't initiate the infoWinClose_Handler again. Odd as I can click and get popup for any of the four "configured" layers and it will run the close_handler on each of them the first time I click them. If I click feature for a layer that has already had a popup open and then closed, it will not initiate the close function again. Figure I need to re-initiate the listener, having issues trying to figure out where to put it without getting the null errors again. Just figured out that if I put it at the bottom of the commitProperties function, it appears to be working as desired. Thanks again for the help, R_
... View more
10-25-2012
11:24 AM
|
0
|
0
|
1475
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM | |
| 1 | 05-07-2026 02:10 PM | |
| 1 | 04-02-2026 09:50 AM | |
| 1 | 04-01-2026 01:21 PM |
| Online Status |
Online
|
| Date Last Visited |
Monday
|