|
POST
|
Can you have more than one uniquevaluesfromfield within expressions? I can't get it to work in the 3.1 version. John, Are you pulling the service from a 9.3.1 AGS? I don't see it in the pdf anywhere, but if I remember correctly, the uniquvaluesfromfield requires a parameter that didn't exist until server 10. R_
... View more
02-19-2013
12:28 PM
|
0
|
0
|
1974
|
|
POST
|
Michelle, Robert's example page does the URL query ( http://gis.calhouncounty.org/FlexViewer3.1/index.html?config=config-eSearch.xml&esearch=2&slayer=3&exprnum=1 ). I tried to reproduce what you are saying on the demo site, but can't seem to reproduce it. Are you running the latest version? Anyway, might see if you can make the same thing happen on the demo site. Might give you an idea if it is the way it behaves, or due to some of your edits. R_
... View more
02-14-2013
03:18 PM
|
0
|
0
|
1747
|
|
POST
|
I've been trying to figure this out also. Thanks again Robert, more points for you, R_
... View more
02-14-2013
12:24 PM
|
0
|
0
|
3219
|
|
POST
|
George, Grew up in Island Park and Challis. Lots of buddies still in the Pokasmello/Idiot Flats area. I see you are mapping their "hunting" areas 😮 Still have a buddy there in Poky that fishes Tuna with me each year. About the longest boat haul to the coast I'm aware of (at least, for a "regular")..... R_
... View more
02-12-2013
01:27 PM
|
0
|
0
|
1297
|
|
POST
|
Appears as if maybe a formatting issue? I say that as if I change my TextBoldLabel to something with 2 digits, I get the same thing (guess it won't fit). also, have noticed on George's that there are other truncated labels on the GUI. Marker C..., Distance U.... that do NOT appear this way in a working version. Just in case this helps you figure it out, R_
... View more
02-12-2013
11:00 AM
|
0
|
0
|
1966
|
|
POST
|
Nice video, too bad he leaves out the important part. While creating his service, he points out how/where you can select the formats available. However, he skips over and fails to mention this part from the help documentation: Due to a known limitation with the Export Web Map tool in 10.1, you cannot filter the parameter choices available to end users. You can hide a parameter completely from end users and force them to use the default by setting the parameter's Input mode to Constant value. So, it doesn't matter how many of the formats, templates, etc. you un-check creating the service, you will still get them all. The only way I have found to get around this is to only allow one option (Constant value), or not give them the option in the config. For the templates, you can, as long as you only have the two "desired" templates in the template folder. R_
... View more
02-12-2013
09:08 AM
|
0
|
0
|
1692
|
|
POST
|
I just modified my Legend widget and added this snippet: <viewer:BaseWidget xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:esri="http://www.esri.com/2008/ags"
xmlns:viewer="com.esri.viewer.*"
initialize="basewidget_initializeHandler()"
widgetConfigLoaded="basewidget_widgetConfigLoaded()">
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
s|VScrollBar
{
skinClass: ClassReference("com.esri.viewer.skins.VScrollBarSkin2");
}
</fx:Style>
<fx:Script>
<![CDATA[ This makes it look for VScrollBarSkin2 (make a copy of the skin and name it 2) for the Legend Widget specifically. Does not seem to affect any of the other scroll bars, just the widget that I included it in. Not sure if this will cause "issues" down the line, or if a better method, but this seems to work. R_
... View more
02-12-2013
08:43 AM
|
0
|
0
|
721
|
|
POST
|
I would second the second option. preference would be default to true. would make it an obvious feature, but one could disable if not desired. R_
... View more
02-04-2013
08:38 AM
|
0
|
0
|
805
|
|
POST
|
Steve, You might look at the single line search in the headercontrollerwidget: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Header_Controller_widget/01m30000003s000000/ R_
... View more
02-04-2013
08:32 AM
|
0
|
0
|
549
|
|
POST
|
Robert, the creationComplete="init()" works just fine, but I see that so does initialize="init()". (initialize "looks" more correct in this case) At first wasn't sure what to use as normally I see creationComplete in like a widget or something that actually gets "created", but it worked. However, curious if there is a "more correct" method, or does it not really matter how you call the init() function? R_
... View more
01-31-2013
10:50 AM
|
0
|
0
|
1611
|
|
POST
|
As in Heathers post #22 above, it appears to be a bug with the portal. I see you tried Heathers recommendation in post #12 and disable the portal (addarcgisbasemaps="false"), and load the basemaps in the old fasion way (under the <basemaps> tag) and it worked for you (post #14). So, with addargisbasemaps="false" you are still getting this error? I thought setting it to false and adding in the basemaps manually was the "fix/workaround" for this issue until they get it fixed in the API. R_
... View more
01-31-2013
10:45 AM
|
0
|
0
|
3285
|
|
POST
|
Rhett, Adding that line of code with the code Robert provided worked. Thanks! Ashley I just added the part that he forgot to. He would have got there once he realized it. However, Robert is really the one that answered this question, and should get the check mark. Besides, I'm not in the running for MVP anyway, so would be a wasted check mark on me. R_
... View more
01-31-2013
10:17 AM
|
0
|
0
|
1611
|
|
POST
|
Easiest way is to use Google Chrome, as this is the default 🙂 Just making that change did not do it for IE8, I also had to modify the <s:Application tag> as such: <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:viewer="com.esri.viewer.*"
xmlns:managers="com.esri.viewer.managers.*"
pageTitle="ArcGIS Viewer for Flex"
creationComplete="init()"> Not sure if crationComplete is the right call to make there, but it is working. R_
... View more
01-31-2013
09:47 AM
|
0
|
0
|
1611
|
|
POST
|
If anyone happen to have fiddler etc open at the time this happens, please share the problem URL request - and response. In case it helps. SecurityError: Error #2048: Security sandbox violation: http://gis01.wch-rcc.com/stock31/index.swf cannot load data from http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer?f=json.
at com.esri.ags.tasks::BaseTask/handleFaultEvent()
at mx.rpc::AsyncResponder/fault()
at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyFault()
at mx.rpc.events::FaultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()
at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at DirectHTTPMessageResponder/securityErrorHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/redirectEvent() fiddler2 file attached
... View more
01-31-2013
08:46 AM
|
0
|
0
|
330
|
|
POST
|
Not quite sure what you are asking. If you want to keep it in vertical (which means it will be pinned to the sides of the viewer) but want to have a particular widget at the top, bottom, middle, etc., the order in the vertical layout represents the order opened. So <widgetcontainer layout="vertical"> <widget label="Legend" x="85" y="50" preload="open" height="550" icon="assets/images/Legend32.png" config="widgets/Legend/LegendWidget.xml" url="widgets/Legend/LegendWidget.swf"/> <widget label="TOC" right="30" top="100" preload="open" height="320" icon="assets/images/i_folder.png" config="widgets/TOC/TOCWidget.xml" url="widgets/TOC/TOCWidget.swf"/> would open the FV with the Legend widget above the TOC widget, but both pinned to the side of the viewer. If you really want the widget to be in the center of your viewer, you would use <widgetcontainer layout="float"> instead of vertical. this way, the x, y, top, bottom, right, left tags can be used to set the initial opening position. R_
... View more
01-31-2013
08:34 AM
|
0
|
0
|
783
|
| 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 |
Offline
|
| Date Last Visited |
Thursday
|