|
POST
|
Was wondering where the singleLineSearch.mxml code is being called from in version 3.2? I would like to disable the popups for search results, but noticed that the singleLineSearch is no more? R_
... View more
03-26-2013
06:54 PM
|
0
|
5
|
1976
|
|
POST
|
Hi Robert, Did you ever figure out how/where the popup is firing this move event? Noticed this fix doesn't work in version 3.1.12. R_
... View more
03-26-2013
02:55 PM
|
0
|
0
|
1116
|
|
POST
|
Thank you Rhett for your help Your related Technical Articles is for ArcGIS under 10.0. Is it still up to date? Thank you so much for your time. Alex Alex, I could not get it to work until I could select them in ArcMap with select tool (which meant they had to have an OID field). Have the same issue with both versions, and the "fix" I used for version 10 seems to work in 10.1 (see below). In version 10, you can't use the publish as service toolbar (as msd) for this data type, you must right-click on ArcMap document with catalog and publish as mxd) I have moved it over to 10.1. In order for it to work here, not only did I need the OID field, but I had to go into Server Manager, Site, Data Store, Register Database, and register the database the xy event theme table is coming from. Then I was able to "Share as service" from ArcMap and is working as expected (or as hoped ). Even the uniquevaluesfromfield populates with the list. R_
... View more
03-26-2013
12:29 PM
|
0
|
0
|
1735
|
|
POST
|
I see you are telling it to load <sublayer id="1" popupconfig="popups/PopUp_Addresses.xml" /> but for the example you load popups/popup_addresses.xml. Remember, FLEX is CaSe sensitive, so these are NOT the same thing. Try updating the config.xml so that paths are identical, including CaSe. Either will work if put directly in the browser, but FLex needs it to be exact. R_
... View more
03-26-2013
10:37 AM
|
0
|
0
|
3443
|
|
POST
|
Thanks Robert, works like a champ. I thought about using indexOf, but by then, it was the weekend, and no way to test. R_
... View more
03-26-2013
10:29 AM
|
0
|
0
|
1560
|
|
POST
|
Hi Robert, Have noticed that if I do an eSearch before I use the SwipeSpotlightWidget, the list of layers will now have: Graphical Search Layer Search Buffer Results and hiddenLayer_All Waste Sites If you select them in the dropdown, it doesn't even give you the swipe cursor or anything. know these are coming from the eSearch widget, but, since they are not "operational" layers, my excluded layer code doesn't catch them. So, I modified the mapLayerAddHandler to deal with it. Not sure if there is a better way, but this seems to work (at least, haven't found anything else it interferes with "yet"). private function mapLayerAddHandler(event:MapEvent):void
{
if(findInAc(event.layer.name) == -1){
if (event.layer.name != "Search Buffer Results" && event.layer.name != "Graphical Search Layer" && event.layer.name != "hiddenLayer_All Waste Sites"){
layAc.addItem(event.layer.name);
}
}
layAc.refresh();
}
However, this obviously will work for the first two, but the hiddenLayer_service (sometimes hiddenLayer_All Waste Sites, hiddenLayer_Buildings, etc) depends on which service you last searched. Can't for the life of me figure out how to code somthing like this that works in flex: if (event.layer.name != "Search Buffer Results" && event.layer.name != "Graphical Search Layer" && event.layer.name Not Like "hiddenLayer_%") Any ideas on the best way to handle this? R_
... View more
03-21-2013
06:31 PM
|
0
|
0
|
1560
|
|
POST
|
Have you set addarcgisbasemaps="false" in the map tag of your config.xml? This could be where it is getting it from, but if so, you should see several options under the basemaps button. R_
... View more
03-21-2013
04:27 PM
|
0
|
0
|
533
|
|
POST
|
Not sure about mobile, but the simplest way in flexviewer is to set that tag in the popupconfig.xml file and can be set differently for each sub layer. <showzoomtobutton>false</showzoomtobutton> as documented here: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Pop_up_configuration_files/01m30000002q000000/ at bottom of page. R_
... View more
03-21-2013
04:03 PM
|
0
|
0
|
1316
|
|
POST
|
Not sure about the field names, but for me, I could never get the full functionality out of an event theme until I had the properties in ArcMap show that it has an OID field: [ATTACH=CONFIG]22863[/ATTACH] To do this, my DBA had to do some mojo on the table similar to this link: http://support.esri.com/en/knowledgebase/techarticles/detail/27424 We actually went the primary key route, and had to make it a NUMBER(9,0) (not sure why NUMBER(9) didn't, maybe versions or Oracle or something) for it to work. Basically, it needs a "unique" "not null" (which fits definition of primary key) "numeric (9)" field that it can use as the OID field for it to work correctly. (we made ours required and autopopulated so that someone can't add data without populating the field, which would break the service (only needs one NULL in there for it to not recognize it as OID) A good test is to add the table as an event theme in ArcMap, look at the properties and make sure it says OID yes, then grab the select tool and try to select some data, if you can't select it, then it will not work properly as a service and something isn't right. Also, unless you unchecked the warn me box, it will warn you when you add the event theme that you won't be able to select, query, or edit the features if it isn't right. R_
... View more
03-21-2013
03:29 PM
|
0
|
0
|
1735
|
|
POST
|
Sorry Robert, Brain fart on my end. Turns out I had identifylayeroption=visible, but was fogetting to change the elevation layer in my main config to the 10.1 version. Now that it is actually "visible" in my map, it appears to be honoring it, even with onlythese=true and is accepting "Pixel Value" as the field. R_ Also, this version plays nicely with the ElevationProfileWidget. Still have to close it to get the draw tool back to Identify, but no longer get the null value errors if I try to use identify after running the profile widget. Funny how it works the way you tell it to 🙂
... View more
03-21-2013
02:11 PM
|
0
|
0
|
1720
|
|
POST
|
{"results":[{"layerId":0,"layerName":"Elevation","value":"152.869995","displayFieldName":"","attributes":{"Class value":"1","Pixel Value":"152.869995"},"geometryType":"esriGeometryPoint","geometry":{"x":574551.584524985,"y":147006.98256411,"spatialReference":{"wkid":32149}}}]} Is this the string you were looking for? I've tried value, and Pixel Value, and pixel value so far with no luck. R_
... View more
03-21-2013
02:07 PM
|
0
|
0
|
1720
|
|
POST
|
Well, that could be my issue then, as my raster data is floating point, so has no attribute table and thus no Fields tab. Weird that it works with the 10.0 service, but not 10.1.... However, both services report the same thing if I identify with ArcMap. [ATTACH=CONFIG]22853[/ATTACH] R_
... View more
03-21-2013
01:52 PM
|
0
|
0
|
1720
|
|
POST
|
More on this. It seems that both AGS 10 and 10.1 will identify, however, I don't know how to get it to honor the fields tag in 10.1. with 10.05, it honors my field tag, and will work with onlythese="true", but since I don't have the proper syntax for 10.1, it will only work if I have it set to onlythese="false", but get no field formatting. R_
... View more
03-21-2013
01:24 PM
|
0
|
0
|
2003
|
|
POST
|
I'm trying to figure this out also. I have it working in 3.1.2f, but that one will give me null value errors if I have run the ElevationProfileWidget previously so I tried to upgrade, but can't figure out how to get 3.1.4 to identify raster values from AGS 10.05. However, it seems to work with AGS 10.1. Will this only support rasters on 10.1, or is it something I'm doing differently? Thanks, R_ Noticed that even using AGS 10.1, I can only get raster values if I select All Layers and must have onlythese="false". If I pick the actuall elevation data, I get no results found. Not sure, but might be related to the fields tag as I can't get it to display anything if I try to make it follow them. This used to work in older version: <field name="Pixel Value" alias="NAVD88 (m)" numberformat="2|,|." /> but doesn't anymore. Odd, as if I let it identify it will all layers, it shows Pixel Value and Class Value, but can't figure out how to honor it in the fields tag. Seems the only way I can get it to work is onlythese="false", then exclude all the other layer/sublayers in the map.
... View more
03-21-2013
12:44 PM
|
0
|
0
|
2003
|
|
POST
|
Alex, I'm using the same version flexviewer and eSearch widget and have no problem getting the results as well as the uniquvalues list to populate. My event theme is loaded from an Oracle table, but just through an odc connection. I do have an autogenerated number (unique values, required=true) field on my table, this way, Arc will use that in leiu of an OID field. Otherwise, event themes are pretty limiting. R_
... View more
03-21-2013
11:14 AM
|
0
|
0
|
1735
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
Monday
|