|
POST
|
Dear Robert, Thank you very much for the help, I used your code; the error and the six warnings disappeared, but two new errors appeared: 1120: Access of undefined property Alert 1172: Definition Spark.components: Alert could not be found an when I run the app and proceed the errors, it starts with a blank screen. Thank you again! 1- 2- 3-
... View more
08-29-2014
11:30 AM
|
0
|
5
|
4054
|
|
POST
|
Hello Anthony, Thank you very much for the help. First of all I am building a flex mobile project to make a mobile mapping app, NOT a web mapping app, and before I started coding, I followed "Getting Started" section in all steps and added the 3 swc libraries (agslib-3.6-2013-12-13, mx, and sparkskins) this is shown with the screenshots below: 1- 2- 3- 4- 5-
... View more
08-29-2014
09:42 AM
|
0
|
1
|
4054
|
|
POST
|
Hello all, I am new to flex, and Flash builder, I followed the tutorial in this link: https://developers.arcgis.com/flex/guide/tutorial-query-your-data.htm to write a mobile mapping application that includes a query task, after writing the code, no errors appeared in the problems tab but there was 6 warnings, and when running the app the following error appears (Also shown in screenshots): An ActionScript error has occurred: TypeError: Error #1034: Type Coercion failed: cannot convert views::AGISHomeView@6396ae1 to spark.components.View. at spark.components::ViewNavigator/createViewInstance() at spark.components::ViewNavigator/commitNavigatorAction() at spark.components::ViewNavigator/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback() Any kind of help is appreciated. Hani, ___________________________________________________________________________________________________________ Screenshots: 1- Warnings: 2- Error: __________________________________________________________________________________________________________ Here is the code I used: <?xml version="1.0" encoding="utf-8"?> <s:Application 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="http://ns.adobe.com/air/application/4.6" xmlns:esri="http://www.esri.com/2008/ags"> <s:layout> <s:VerticalLayout gap="10" horizontalAlign="center" paddingBottom="20" paddingLeft="25" paddingRight="25" paddingTop="20"/> </s:layout> <fx:Script> <![CDATA[ import com.esri.ags.FeatureSet; import mx.controls.Alert; import mx.rpc.AsyncResponder; private function doQuery():void { queryTask.execute(query, new AsyncResponder(onResult, onFault)); function onResult(featureSet:FeatureSet, token:Object = null😞void { // No code needed in this simple sample, since the // graphics layer is bound to the query result using // graphicProvider="{queryTask.executeLastResult.features}" } function onFault(info:Object, token:Object = null😞void { Alert.show(info.toString(), "Query Problem"); } } ]]> </fx:Script> <fx:Declarations> <!-- Layer with US States --> <esri:QueryTask id="queryTask" showBusyCursor="true" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5" useAMF="false"/> <esri:Query id="query" outSpatialReference="{myMap.spatialReference}" returnGeometry="true" text="{qText.text}"> <esri:outFields> <fx:String>MED_AGE</fx:String> <fx:String>POP2007</fx:String> </esri:outFields> </esri:Query> </fx:Declarations> <s:Panel height="60" backgroundColor="0xB2BFC6" title="Query a layer (search for a state)"> <s:layout> <s:HorizontalLayout/> </s:layout> <s:TextInput id="qText" width="100%" enter="doQuery()" text="California"/> <s:Button click="doQuery()" label="Do Query"/> </s:Panel> <esri:Map id="myMap"> <esri:extent> <esri:Extent xmin="-14298000" ymin="2748000" xmax="-6815000" ymax="7117000"> <esri:SpatialReference wkid="102100"/> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer"/> </esri:Map> </s:Application> _______________________________________________________________
... View more
08-28-2014
12:11 AM
|
0
|
10
|
8361
|
|
POST
|
jake, Thanks you very much for the help, I'll contact the Account manager, and try this tutorial! Thanks again,
... View more
08-25-2014
05:06 AM
|
0
|
0
|
1864
|
|
POST
|
Thanks a lot Jake, You are right! It seems that Geoevent Processor Extension is the most powerful engine to handle this process, but I cannot start with it, I referred to tutorials in this link http://www.arcgis.com/home/group.html?owner=GeoEventTeam&title=ArcGIS%20GeoEvent%20Processor&sortField=title&sortOrder=asc&content=all, but I did not understand the workflow or the concept of the process and how to make it work. Could you please elaborate a bit more regarding this issue?
... View more
08-25-2014
04:39 AM
|
0
|
2
|
1864
|
|
POST
|
Hello All, I am new to Flex Builder, ArcGIS API for flex, Mobile Mapping Apps, and not a developer I want to create a simple mobile mapping app, so followed the instructions in this page: https://developers.arcgis.com/flex/guide/tutorial-mobile-specific-application.htm After doing all the steps, I got the following error: “Cannot resolve attribute ‘firstView’ for component type spark.components.Application” What might be the issue here? Thank you Hani, This is shown in screenshots below: 1- 2- 3- 4- 5-
... View more
08-24-2014
06:26 AM
|
0
|
0
|
3676
|
|
POST
|
Hello all, I want to establish a live connection between my server (has ArcGIS desktop, ArcGIS Server, Tracking Analyst Extension) and other devices that can determine location like data collectors in the field (using GPS devices with ArcPad) or taxi-drivers using their smartphones, so I can view their current location on a map on my machine. How can I do this? Thanks a lot Hani
... View more
08-23-2014
02:16 AM
|
0
|
4
|
5707
|
|
POST
|
Hello all, I figured out a strange behavior of ArcPad Studio; When I create a form for an axf layer, and finish it, I click save, but I don’t know where it is physically saved. I use “save as” to save it to my hard drive, and it is saved there (Form1.apl), but when I close ArcPad Studio, the .apl file is removed automatically! What should be the issue here? This is shown with screenshots below. Thank you, Hani 1- Opening the .axf file 2- Opening the form 3- Customizing the form 4- Saving the form 5- Showing the .apl file in "D" Drive: The file is available! 6- The file is missed when closing ArcPad Studio!!!
... View more
08-11-2014
02:36 AM
|
0
|
0
|
3083
|
|
POST
|
Russell, Thank you very much, I tried it and it worked fine .
... View more
07-26-2014
12:31 AM
|
0
|
0
|
641
|
|
POST
|
Mike, Thank you a lot, that's right, I tried it and it worked! But still I have another two problems documented in the threads below. http://forums.arcgis.com/threads/114023-Error-with-.apm-that-contain-layers-from-enterprise-geodatabases http://forums.arcgis.com/threads/114031-Error-with-synchonize-data-with-ArcGIS-Server
... View more
06-25-2014
11:36 PM
|
0
|
0
|
813
|
|
POST
|
When I use synchronize data with ArcGIS Server, the following error appears! What�??s the problem? Ragards, Hani [ATTACH=CONFIG]34875[/ATTACH]
... View more
06-25-2014
07:21 AM
|
0
|
0
|
2469
|
|
POST
|
When I open a .apm file that contains layers that point to an enterprise geodatabases, the error in the attached image below appears, but when the data source is a file geodatabase this error does not appear. Whats the problem here? ???SQL Server 2014 is installed, and when I installed ArcPad I installed SQL Server 2005 Compact Edition. Regards, Hani [ATTACH=CONFIG]34868[/ATTACH]
... View more
06-25-2014
06:32 AM
|
0
|
1
|
3038
|
|
POST
|
How to create a layer from a feature service published by ArcGIS Server to use as input for Add feature Service URL to AXF tool?
... View more
06-25-2014
03:25 AM
|
0
|
2
|
3725
|
|
POST
|
How to show feature Service in catalog, I published a service using ArcGIS Server, and enabled the feature access capability, so there are two services: map service and feature service. In the catalog window, I see only the map service! Whereas in the services directory there are two services. I need it to be available in the catalog, so I can right click it and create a layer, which is an input for another tool(Add feature Service URL to AXF) that requires a layer from feature server. The question is: How to show feature Service in catalog if possible, or how to create a layer from feature service layer?
... View more
06-25-2014
03:05 AM
|
0
|
2
|
977
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-21-2020 01:11 PM | |
| 1 | 10-28-2014 12:17 PM | |
| 1 | 12-04-2014 12:23 AM | |
| 1 | 02-22-2015 11:47 PM | |
| 1 | 03-23-2016 03:32 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|