POST
|
While accessing mxd using arcobjects each time when a layer is accessed from the map document,the "Spatioal Database Connection" dialog comes up, stalling the application until cancel is pressed. I'd like to simply ignore such layers, and not ask for any authentication, but simply handle the layer in question as if its data source was missing. Any pointers?
... View more
11-03-2011
06:35 PM
|
0
|
3
|
536
|
POST
|
Thanks Robert, this is just awasome. It really had a great insight on Widgets Communication. Thanks again Lu.
... View more
09-08-2011
02:19 AM
|
0
|
0
|
566
|
POST
|
How should I go about displaying the Red_Glow.swf for a single point feature in a Feature Class? Any directions ? Thanks , Luke
... View more
08-08-2011
03:34 AM
|
0
|
0
|
406
|
POST
|
Hi Julie, I agree with ocwagis It will be really gr8 if you share some kind of documents\demos for enhancing your app you presented in UC. Looking forward for your positive reply 🙂 Thanks Luke.
... View more
08-08-2011
02:34 AM
|
0
|
0
|
413
|
POST
|
Thanks Robert ! It worked really great. I only need to change from ViewerContainer.addEventListener(AppEvent.DATA_PUBLISH, sharedDataUpdated); To ViewerContainer.addEventListener(AppEvent.DATA_NEW_PUBLISHED, sharedDataUpdated); Lu.
... View more
07-25-2011
03:41 AM
|
0
|
0
|
282
|
POST
|
Lu, Maybe you should tell me your workflow and or objective, the more I think about this the more complicated it is getting. Thanks Robert for your time !. My workflow - i have a widget "W1" and I want to enable a specific Layer in the TOC (visibility on and off ) only after I get an input from "W1" say hit a "ok" button. My workaround: calling addsharedData() in "W1" and passing a boolean value in arraycollection. fetching the boolean value in TocItemRender.as to on\off the specific Layer. But i did not get fetchshareddata() funtion here. please help me out if you could suggest me a better logic or a way to get to fetchSharedData() TocItemRender.as . Thanks Robert again for youe ultimate support. Lu
... View more
07-23-2011
08:33 PM
|
0
|
0
|
282
|
POST
|
Thanks Robert ! Could you pls help me with some sample code for traversing to Widget from the component ? Lu
... View more
07-22-2011
05:18 PM
|
0
|
0
|
282
|
POST
|
Hello, How can I fetchSharedData() From TocItemRender.as ? Any suggestions ? Thanks , Lu.
... View more
07-21-2011
09:16 PM
|
0
|
6
|
998
|
POST
|
I am facing problem in accesessing custom toolbox from a network drive.The code is in VBA and it gives me automation error when I try to access any Geoprocessing tool.
Dim pUID As New UID
pUID = "esriGeoprocessingUI.ArcToolboxExtension"
Dim pATBE As IArcToolboxExtension
Set pATBE = Application.FindExtensionByCLSID(pUID)
Dim pTool As IGPTool
Set pTool = pAtb.GetToolbyNameString("ModelName")
Dim pComm As IGPToolCommandHelper
pComm.SetTool pTool
pComm.Invoke Nothing
Any pointers ? Lu
... View more
07-14-2011
03:00 AM
|
0
|
0
|
1013
|
POST
|
Thanks Robert, That was really helpfull.However I am using FeatureLayer for defining expression and I need to move to layerDefinition. I did not fully understood the concept of layerDefinitions though. let say my map service is - <address>/ArcGIS/rest/services/XYZ/MapServer It has three Feature Classes - a - <address>ArcGIS/rest/services/XYZ/MapServer/0 b - <address>ArcGIS/rest/services/XYZ/MapServer/1 c - <address>ArcGIS/rest/services/XYZ/MapServer/2 Now I want to assign LayerDefinition expression (Name = "ABC") to <address>ArcGIS/rest/services/XYZ/MapServer/1 then what should go to my layerDefinitions array ? myDynamicLayer.layerDefinitions = [ null, "Name = 'ABC'", null, ]; Please suggest ? Lu
... View more
06-28-2011
08:57 PM
|
0
|
0
|
794
|
POST
|
Just to mention that My map service has 4 feature classes (0,1,2,3) and 3 tables (4,5,6).My requirement is to define query on featureclass -1. I know that var layer:ArcGISDynamicMapServiceLayer = map.getLayer("Parcels") as ArcGISDynamicMapServiceLayer(); will give me reference of Map Service. Do I have to publish that feature class seperately ? Lu.
... View more
06-26-2011
10:01 PM
|
0
|
0
|
794
|
POST
|
Thank you Robert, Then could you please suggest me the way to perform Definition query on the sublayer of map service ? I think that only setting <featureLayer>.url (<layerpath>) and <featureLayer>.definitionexpression wont surve the purpose ? Please suggest. Lu.
... View more
06-26-2011
09:58 PM
|
0
|
0
|
794
|
POST
|
In my case I want to access sublayer from a parent layer in the map service.I m too getting null reference when I fire map.getLayer() function. Any help please ? Lucas
... View more
06-23-2011
09:47 PM
|
0
|
0
|
794
|
POST
|
Robert, I am facing problem in setting LayerDefinitions parameter in IdentifyWidget from another widget(say ABC). ********************************************************************* In ABCwidget - calling addSharedData("DefinitionQuery",QArrayCollection); In IdentifyWidget- In init() function- ViewerContainer.addEventListener(AppEvent.DATA_NEW_PUBLISHED, sharedDataUpdated); fetchSharedData(); Also added definition for sharedDataUpdated() which is assigning "DefinitionQuery" to arrdefQ (Array) In identifyFeatures() identifyParams.layerDefinitions=arrdefQ; ********************************************************************* The problem is - For the first time when Identify is invoked,the value of the defQuery from the sharedDataUpdated() is blank.Its seems that identifyFeatures() is called first then sharedDataUpdated(); However after that it work perfectly okay. I am really stuck on this and need your suggestion. Lu.
... View more
05-04-2011
04:40 AM
|
0
|
0
|
614
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|