POST
|
Hi Guys, I've been experimenting with the iOS SDK and have been able to successfully add a new web map. However I would like to create a new folder that I can place new web maps inside. I've looked at creating an AGSPortalFolder object (supplying the 'title' only) and passing it into the "addPortalItem:withContentParams:toFolder:" method on the AGSPortal object with no luck. Am I on the right track or is there another way in which to create new folders? Many Thanks, Steve
... View more
05-26-2014
10:24 AM
|
0
|
2
|
1276
|
POST
|
Hi All, I am using the selection tools built in to the map web part to select a feature from a layer on the map. A custom tool when launched, checks for the presence of a selected feature and performs a query, displaying the results in a data grid control. In my custom tool I want to listen for changes to the selection so I can re-run the query based on the new selection. However there does not appear to be an event exposed (like the EditCompleted event in Silverlight API Editor control) by the selection tools that are part of the map web part. I can listen to changes in the SelectionCount property if I cast the selected layer to a FeatureLayer object. However if, for example, I select 2 polygons from the layer, my event handler is hit multiple times, not just when the selection has completed. Does anybody know of other ways to hook into the map web part Selection tools and listen for a selection change event? Many Thanks, Steve
... View more
04-19-2013
01:44 AM
|
0
|
0
|
618
|
POST
|
Hi all, I am investigating an issue with a custom add-in for ArcMap 10.1. The add-in is attempting to toggle the visibility of a group layer when the user clicks on a certain button. On click of this button the TOC reflects the new visibility of the layer as does the active map window. However, when an edit session is started and the 'Create Feature' window is visible showing the available editable layers (see attached image), if the user then clicks on the toggle button in the add-in then the 'Create Feature' windows list of layers does not get refreshed. If you toggle the visibilty of the group layer in the TOC then the 'Create Feature' window refreshes as expected. From looking at the ArcObjects API I cannot see a way of updating this window. I have managed to get a handle on an esriEditor.CreateFeatureDockWin object but I haven't come across a way of refreshing its data to reflect the currently visible editable layers. See below for the code I have to get the CreateFeatureDockWin: var dockableWindowManager = (IDockableWindowManager)application; var uid = new UIDClass() { Value = "esriEditor.CreateFeatureDockWin" }; IDockableWindow window = dockableWindowManager.GetDockableWindow(uid); Is there a way to have this window refresh it's contents? Are there other (better) approaches I can take? Any help with this is greatly appreciated. Regards, Steve
... View more
10-25-2012
08:19 AM
|
0
|
0
|
370
|
POST
|
Hi, I recently had a similar issue. The job ran to completion but I was receiving errors when the GP Task checks the status. In my case the website and GP task where hosted on the same machine. If you have the same setup check out my thread: http://forums.arcgis.com/threads/66803-Problem-with-status-update-of-asyncronous-geoprocessing-task-at-3.1 Hope it helps. Steve
... View more
09-14-2012
02:26 AM
|
0
|
0
|
347
|
POST
|
Ok, so both the website and the GP Task are hosted on the same machine. I access the website and GP task using the same domain i.e. Website http://mydomain/mysite/index.html GP Task http://mydomain/ArcGIS/rest/services/ExportPDF/GPServer/ExportToPDF This setup worked fine at 2.8 and below. To make it work a 3.x I accessed the GP Task using the machine name i.e: http://servername/ArcGIS/rest/services/ExportPDF/GPServer/ExportToPDF This fixed the issue however I'm not sure why. Something must have changed in API 3.x. Can anybody shed some light on this? Thanks, Steve
... View more
09-14-2012
02:19 AM
|
0
|
0
|
346
|
POST
|
Hi All, I'm having a problem updating from 2.8 API to 3.1. I have a geoprocessing task working great at 2.8 and I can see the status of the task while it is running. However when I use the 3.1 API the callbacks to check the status fail after the first status callback. The error I see in Firebug is 'Job abc123 is does not exist or is inaccessible' (See attached for screenshot). However the job does exist and actually runs to completion as my expected output file is generated correctly. Has anybody else come across this issue? Any workarounds? Any help would be greatly appreciated. Thanks, Steve
... View more
09-13-2012
03:10 AM
|
0
|
3
|
769
|
POST
|
Hi all, I'm working through the ArcGIS Mobile sample located here: http://help.arcgis.com/en/arcgismobile/10.0/apis/arcgismobile/help/index.html#/Building_your_first_ArcGIS_Mobile_application_for_Windows_Mobile/014q00000018000000/ There is some code: if(mobileCache1.IsEmpty) .....code that recreates cache from a mobile service else .....mobileCache1.Open(); I know my cache has data because if I comment out the 'IsEmpty' code and just call mobileCache1.Open() then the data is displayed on the map. However the IsEmpty property seems to always return true. Has anyone else come across this issue? Thanks in advance. Steve
... View more
09-12-2012
12:05 AM
|
0
|
2
|
672
|
POST
|
Looks like this is a known bug with 2.4 of the Flex Viewer: http://forums.arcgis.com/threads/36513-2.4-PopUp-scrollbar-bug
... View more
11-13-2011
03:11 PM
|
0
|
0
|
135
|
POST
|
A little further info. It seems the problem only occurs when the popup has a vertical scrollbar. Reducing the amount of fields removes the scroll and fixes the issue but I need to be able to display these additional fields.
... View more
11-13-2011
03:06 PM
|
0
|
0
|
135
|
POST
|
Hi All, I'm using LayerInfoWindowRenderer / PopUpRenderer to add popup functionality to a dynamic layer. See code below: var layerInfoWindowRenderer:LayerInfoWindowRenderer = new LayerInfoWindowRenderer(); layerInfoWindowRenderer.layerId = Number(layerInfo.layerId); var infoWindowRenderer:ClassFactory = new ClassFactory(PopUpRenderer); infoWindowRenderer.properties = {popUpInfo:popupInfo}; layerInfoWindowRenderer.infoWindowRenderer = infoWindowRenderer; if(!lyrToConfigure.layerInfoWindowRenderers) lyrToConfigure.layerInfoWindowRenderers = []; lyrToConfigure.layerInfoWindowRenderers.push(layerInfoWindowRenderer); For most layers this is working fine but there is one layer that is acting up. When you click on a feature for this particular layer for the first time the popup loads fine with all the fields infomation displaying correctly. However if you click another feature or the same feature (on same layer) only the title displays, no field info. Has anybody else come across this? Any ideas? Thanks, Steve
... View more
11-13-2011
02:09 PM
|
0
|
2
|
556
|
POST
|
Hi Deona, I'm having the same issue, did you manage to get around this problem in 2.4? If so could you share your solution. Many Thanks, Steve
... View more
10-19-2011
05:47 PM
|
0
|
0
|
255
|
POST
|
Hi All, I've customized the search widget to use a drop down list of values instead of the the text entry that comes out of the box. I hit search and the results appear on the map and in the search results grid but when I hover over a result I receive the following error: ArgumentError: Error #2004: One of the parameters is invalid. at ObjectOutput/writeObject() at mx.collections::ArrayList/writeExternal() at mx.collections::ArrayCollection/writeExternal() at flash.utils::ByteArray/writeObject() at mx.utils::ObjectUtil$/copy() at com.esri.ags.webmap::PopUpRenderer/commitProperties() at mx.core::UIComponent/validateProperties() at mx.managers::LayoutManager/validateProperties() at mx.managers::LayoutManager/doPhasedInstantiation() at mx.managers::LayoutManager/doPhasedInstantiationCallback() Has anyone encountered this before? Any ideas? Many Thanks, Steve
... View more
08-29-2011
05:22 AM
|
0
|
3
|
878
|
POST
|
Hi All, I have an operational layer configured to use the new popups and all works fine. When the viewer launches the layer is queried and the viewer zooms to a specfic feature. Is it possible to display the new popup for this feature programatically after the zoom? I don't want the user to have to click the feature. Thanks in advance, Steve
... View more
07-08-2011
02:16 AM
|
0
|
0
|
190
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|