|
POST
|
i was able to reproduce the error you described, so i logged the following defect on your behalf. [NIM085348: Error is returned when attempting to pass a print request which includes a secure featureLayer with an active selection.] for others encountering this issue, please feel free to contact technical support and add your name to the list of customers who are affected. thanks for bringing this to our attention!
... View more
10-01-2012
03:50 PM
|
0
|
1
|
1757
|
|
POST
|
these samples rely on the fact that you have set up the appropriate relationship between the feature class and related table in ArcGIS Desktop prior to publishing services. http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_simple_relationship_class/004t00000007000000/ as you can see from this REST service endpoint used in the sample i mentioned previously, both the layer and table are published. this gives the feature layer the capability queryRelatedRecords http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Petroleum/KSPetro/MapServer/0/queryRelatedRecords
... View more
10-01-2012
10:59 AM
|
0
|
0
|
2738
|
|
POST
|
we also have a sample in the JS API Resource center for 1:M related table queries. Query related records http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_query_related.html
... View more
10-01-2012
10:31 AM
|
0
|
0
|
2738
|
|
POST
|
yup. you're definitely missing handlers for .ashx files. if you follow the steps in the IIS install requirements for ArcGIS Server article below to add additional IIS components, it should help you get your proxy up and running. Vista/Windows 7 IIS requirements http://help.arcgis.com/en/arcgisserver/10.0/install_guide/arcgis_server_net_install_guide/index.html#//00890000000m000000.htm the specific items which will help are included in WWW Services > Application Development Features .NET Extensibility ASP.NET ISAPI Extensions ISAPI Filters
... View more
09-25-2012
10:20 AM
|
1
|
0
|
2407
|
|
POST
|
not sure if this has been resolved, but check your MIME types in IIS, add ashx i think TOVernon was on the right track. a 404.3 error ("It is possible that a handler mapping is missing.") usually indicates that you don't have a script handler in place for .ashx files. in IIS, under Handler Mappings, do you see entries for "*.ashx"?
... View more
09-24-2012
03:32 PM
|
0
|
0
|
2407
|
|
POST
|
its probably a better question for the ArcGIS Server -general forum, but i am under the impression that MSD based publishing at 10.1 does not support hatching. i know it doesn't help in this particular case, but the devs did create a 10.1 sample Dynamic Segmentation SOE to demonstrate how you can use ArcObjects to display measures on the fly http://blogs.esri.com/esri/arcgis/2011/08/19/a-server-object-extension-for-performing-dynamic-segmentation/
... View more
09-24-2012
03:26 PM
|
0
|
0
|
597
|
|
POST
|
our API definitely provides techniques to retrieve the data from ArcGIS Server, but our print tools specifically target map contents. QueryTask http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm IdentifyTask http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/identifytask.htm FindTask http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/findtask.htm
... View more
09-24-2012
03:18 PM
|
0
|
0
|
782
|
|
POST
|
hmmm.... not sure whats going on there. i think it would be worthwhile to echo Kelly's earlier comments... even if you are hosting WMS layers on your own ArcGIS Server machine, you can still mash the content up in arcgis.com and create a webmap pretty conveniently. anytime the webmap is consumed, the content is still going to be pulled from your own machine. arcgis.com is only saving the url of the resource.
... View more
09-24-2012
01:41 PM
|
0
|
0
|
1449
|
|
POST
|
that solution only resolved the problem in the situation where zooming in and out updated the legend as well. i wasn't suggesting it as a fix for you, just providing the information in case it helps someone down the line. can you put together a sample with public data so i can check it out?
... View more
09-24-2012
12:06 PM
|
0
|
0
|
2120
|
|
POST
|
just to chime in, i have seen problems on my own machine specifically forwarding content from google (even when mustMatch is set to "false" in the proxy). yahoo.com and esri.com seem to provide consistent results. http://domainname/proxy/proxy.ashx?http://www.google.com fails intermittently http://domainname/proxy/proxy.ashx?http://www.yahoo.com succeeds consistently
... View more
09-24-2012
11:04 AM
|
0
|
0
|
2407
|
|
POST
|
i wasn't able to see the wms in that sample either (until i commented out the other layers and the web mercator map extent). app.map = new esri.Map("map"/*, {
"extent": new esri.geometry.Extent({"xmin":-13074922,"ymin":4015867,"xmax":-13073339,"ymax":4016413,"spatialReference":{"wkid":102100}})
}*/);
//app.map.addLayer(satellite);
//app.map.addLayer(labels);
//app.map.addLayer(poolFeatureLayer);
... View more
09-24-2012
10:48 AM
|
0
|
0
|
1449
|
|
POST
|
unfortunately i never saw the sample, but in that case setting an event handler to wait for a dynamic join and rendering task to complete before refreshing provided a workaround.
... View more
09-24-2012
10:29 AM
|
0
|
0
|
2120
|
|
POST
|
hi Nakisha, since our print samples convert the contents of the application to webmap json, i was able to get another valid example for wms by including it in the following app, and then snooping the network traffic. hopefully it helps! var wmsLayer = new esri.layers.WMSLayer("http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer");
wmsLayer.setVisibleLayers([0,1,2]);
wmsLayer.setImageFormat("png");
{
"id" : "layer0",
"url" : "http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer",
"title" : "Specialty/ESRI_StatesCitiesRivers_USA",
"opacity" : 1,
"type" : "wms",
"version" : "1.3.0",
"transparentBackground" : true,
"visibleLayers" : ["0", "1", "2"]
}
... View more
09-24-2012
10:27 AM
|
0
|
0
|
1449
|
|
POST
|
by JSON example, do you mean this one? http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/layers_wms.html have you seen our KML and WMS samples?
... View more
09-21-2012
04:25 PM
|
0
|
0
|
1449
|
|
POST
|
what username and password allow you to view the layer?
... View more
09-21-2012
04:22 PM
|
0
|
0
|
366
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-16-2014 02:35 PM | |
| 1 | 03-15-2013 04:25 PM | |
| 1 | 06-01-2016 10:51 AM | |
| 1 | 12-28-2015 04:46 PM | |
| 1 | 12-28-2015 05:26 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|