POST
|
Hi, I'm having an issue with the installation of PrintSOE. After "soemanager.bat -a [server name] [domain name] [username] [password] PCHarcgisSOE.jar" I get the following response: IOException occured while connecting the server [server name]. The DCOM connection to the remote object has been disconnected <waitForResponse> Any help would be appreciated. Cheers, Shannaka
... View more
06-23-2011
06:11 PM
|
0
|
0
|
454
|
POST
|
For anyone using the method above, you will need to add the following code to update the layer: var updates:Array = [ feature ];
event.featureLayer.applyEdits(null, updates, null);
... View more
05-22-2011
11:11 PM
|
0
|
0
|
308
|
POST
|
Hi, I'm having an issue with the code below. The issue is that "return name;" is running before "onResult", so it returns null even though the onResult function is getting the correct name. Is there anyway to get it to wait until onResult or onFault are complete? private function getRel(geometry:Geometry,lyr:String):String
{
var name:String;
var query:Query = new Query();
query.geometry = geometry;
var featureLayer:FeatureLayer = map.getLayer(lyr) as FeatureLayer;
featureLayer.queryFeatures(query, new AsyncResponder(onResult, onFault));
function onResult(featureSet:FeatureSet, token:Object = null):void
{
if (featureSet.features.length > 0)
{
for each (var myGraphic:Graphic in featureSet.features)
{
if (myGraphic.attributes["NAME"])
{
name = name + myGraphic.attributes["NAME"];
Alert.show("name =" + name);
}
}
}
else
{
//Alert.show("No " + lyr + " found. Please enter " + lyr + " name.");
}
}
function onFault(info:Object, token:Object = null):void
{
//Alert.show(info.faultString + "\n\n" + info.faultDetail, "queryTask fault " + info.faultCode);
}
return name;
} Cheers, Shannaka
... View more
04-13-2011
06:38 PM
|
0
|
2
|
1794
|
POST
|
I think I've worked it out. Commented out //graphic.attributes = queryResult; in createQueryResults.
... View more
04-10-2011
06:36 PM
|
0
|
0
|
167
|
POST
|
I am customizing the query widget to run a query on an existing feature layer in the map. Basically I want to display all features from that layer in the list and have the infowindow configured to that layer come up when an individual feature is selected from the list. The template I am using is the AttRelateInfoWinWidget by Robert Scheitlin. This works when I am not using the custom query widget but when the query widget is loaded the layer displays no information in the infowindow, even when the widget is closed. I have commented out //map.addLayer(graphicsLayer) and replaced //queryLayer = new FeatureLayer(layerURL) with queryLayer = map.getLayer("MyLayer") as FeatureLayer. I have tried commenting out all references to the infowindow, but the infowindow still doesn't work when clicking on the point on the map even when the query widget is closed. Any leads would be great as I'm out of ideas. Cheers, Shannaka
... View more
04-07-2011
10:50 PM
|
0
|
2
|
730
|
POST
|
Have you added your widget to the list of modules to build? If not, go to Project>Properties>Flex Modules and add your widget to the list. Hope this helps!
... View more
03-28-2011
03:18 PM
|
0
|
0
|
926
|
POST
|
Hi, I'm having trouble getting this to work with the query widget. It gets a heading for the info window but none of the fields and no relates or attachments are shown. I've set the info template <info>widgets/InfoTemplates/AttRelateInfoWinWidget.swf</info> in the query .xml and the info config file in the mxml: var data:Object =
{
id: String(this.widgetId),
url: infoUrl,
config: "widgets/InfoTemplates/IWT_Projects.xml"
}; The info config file works on the layer if I use it without the query widget. Has anyone tried this and got it to work or know of any reason why this wouldn't work? Cheers, Shannaka
... View more
03-24-2011
04:30 PM
|
0
|
0
|
412
|
POST
|
Hi, I am having the same problem, could you explain where and how you've used fetchSharedData()? Cheers! Shannaka
... View more
03-20-2011
11:04 PM
|
0
|
0
|
390
|
POST
|
Thank you! (rWindow.selectedRelateId - 1) gave me the url for the selected feature rather than the related table. I added the following in RelatesWindow and used (rWindow.selectedTableId) to get the number of the selected table instead. public function get selectedTableId():Number
{
return _rTableId;
}
protected function relateGrid_itemClickHandler(event:ListEvent):void
{
_rId = event.target.selectedItem.id;
_rName = event.target.selectedItem.name;
_rTableId = event.target.selectedItem.relatedTableId;
... View more
03-10-2011
01:34 PM
|
0
|
0
|
338
|
POST
|
Hi, I created this widget when trying to work out the same thing, hopefully it will help you out with what you want to do. Cheers, Shannaka
... View more
03-08-2011
02:44 PM
|
0
|
0
|
320
|
POST
|
Shannaka, I am on my way to the developer summit in California, but I will put something together soon. Are you thinking a public variable that you can call from in this widgets code or what are you thinking. Yes, I'm thinking a public variable that can be called within the widgets code.
... View more
03-06-2011
03:53 PM
|
0
|
0
|
338
|
POST
|
I am using the source code. I don't even need it to be displayed in fact, just need a string that contains the url of the selected table. Thank you for your help!
... View more
03-06-2011
01:24 PM
|
0
|
0
|
338
|
POST
|
Shannaka, Not sure I understand the question can you be more specific? Sorry, I meant the URL to the ArcGIS Server REST resource. Is it possible to display this in the Relates Window?
... View more
03-03-2011
06:10 PM
|
0
|
0
|
354
|
POST
|
Hi, Is it possible to display the url for the related table in the Relates Window? Cheers, Shannaka
... View more
03-02-2011
08:37 PM
|
0
|
0
|
354
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|