|
POST
|
I can next week in the middle of Cityworks at the moment. Would be beneficial if esri could test against proxy.jsp and a JAVA base install.
... View more
05-18-2012
07:51 AM
|
0
|
0
|
2547
|
|
POST
|
Jeff�?? are you on 2.8 as well? yes i am, but i just test 2.5 2.6 2.7 and they all exhibit the same behavior in IE only. I also am using a .jsp proxy and have ArcGIS Server for JAVA 10ps4
... View more
05-18-2012
06:01 AM
|
0
|
0
|
2547
|
|
POST
|
Just to pile on, i can replicate this as well. On my secure service (entire app is secure, so layers are not), the legend shows red x's in IE only The non base64 encoding is definitely the difference. The source path to the image in the legend is not getting the token appended on it If i sniff the token using fiddler, and then append the ?token=LqGIFsRUz8nkeM3XKjYT4W1U0xfLvBT7cEkYZcT3jZU. to the end of the image request in IE for the legend the legend item appears.
... View more
05-18-2012
05:34 AM
|
0
|
0
|
6481
|
|
POST
|
anyone have any luck doing this? i dont think i am getting my parameters correct. A working example would be awesome. thank you
... View more
05-17-2012
08:41 AM
|
0
|
8
|
2901
|
|
POST
|
what function are you using to print? This is more than likely due to the wonderful fact the IE does not support svg and therefore using a vml graphics renderer. Good afternoon, I'm building dynamic reports that pull tract data from our database. I include a map of the location at the bottom of the page. When I print the report in standard-compliant browsers, everything displays properly. When using Internet Explorer 8, however, only the map itself prints - the map.graphics layer does not print. Searched for a solution to this issue to no avail... this thread was the closest I found but had no resolution that seemed effective. Tried selecting 'Print background images & colors' in IE preferences - no dice. I don't believe I'm doing anything wrong with my function call to draw the graphics (they do display across all browsers on-screen), here it is for reference: sendQuery = task.execute(query); sendQuery.then(function(loc) { symbol = new esri.symbol.SimpleFillSymbol(); symbol.setColor(new dojo.Color([255,0,0,0.5])); gfx= loc.features[0].geometry; map.graphics.add(new esri.Graphic(gfx, symbol)); }); The obvious answer, 'print from FF', unfortunately doesn't work because IE support is a requirement for the report. Any thoughts or code snippets that can get me going in the right direction would be greatly appreciated! Thanks in advance! Jim
... View more
05-17-2012
08:39 AM
|
0
|
0
|
1884
|
|
POST
|
you are not going crazy. I just opened my secure site in IE (something i try to never do) and the default legend widget is broken for us also. Non secure services work fine, but secure ones do not. (red x) Looks like ESRI did not implement the fix they suggested to me in their own widget. Could you please start a new thread saying the default legend widget doesnt work over https in IE? this one is already marked as answered and might not get as much attention.
... View more
05-17-2012
04:31 AM
|
0
|
0
|
1628
|
|
POST
|
Are you manually building a legend? if so then you can add the token to the params prior to making the legend request if(document.location.protocol==="https:"){
if(esri.id.credentials.length>0){
params.content["token"]=esri.id.credentials[0].token;
}
} Hi there, I am hoping Jeff or Derek will be able to help me. I have a secure site running in AGS 10.04 using the JS API 2.8. I am having trouble getting the legend widget to display the icons for the layers in IE. All works fine in Chrome, FF and Safari but in IE I get the red cross error. All worked fine before I switched to https. I've read several posts which suggest its something to do with the token service not authenticating the legend, but I am stuck as to how to correct this. The code quoted below seems like it should be what I need but I'm unsure how to hook this in. Is there something I can force in my proxy.jsp page? Or hardcode in my .js page? Any help or suggestions would be most welcome. Many thanks, Ben Sayers
... View more
05-17-2012
04:04 AM
|
0
|
0
|
1628
|
|
POST
|
also one installed, you should be able get to http://<server>/arcgis_js_api/library/2.8/jsapicompact/builddate.txt for example on my site http://www.mymanatee.org/arcgis_js_api/library/2.8/arcgiscompact/builddate.txt note on my site the path is slightly different because I have chosen to continue with the "arcgiscompact" nomenclature of the older versions instead of the renamed "jsapicompact" nomenclature ESRI introduced a few versions ago.
... View more
05-16-2012
06:39 AM
|
0
|
0
|
2338
|
|
POST
|
I am sorry you are having so much trouble, but you are mistaken. Are you sure you are downloading the LIBRARY files. YOu do not need the sdk, only the library. for example lines 1034-1036 of the 2.7 library file dojo.xd.uncompressed.js are dojo.registerModulePath("dojo", (location.protocol === 'file:' ? 'http:' : location.protocol) + '//' + "[HOSTNAME_AND_PATH_TO_JSAPI]js/dojo/dojo");
dojo.registerModulePath("dijit", (location.protocol === 'file:' ? 'http:' : location.protocol) + '//' + "[HOSTNAME_AND_PATH_TO_JSAPI]js/dojo/dijit");
dojo.registerModulePath("dojox", (location.protocol === 'file:' ? 'http:' : location.protocol) + '//' + "[HOSTNAME_AND_PATH_TO_JSAPI]js/dojo/dojox"); Went back this morning, and looked again for the notations inside the 2.7 files: esri.js dojo.xd.js dojo.x.djs.uncompressed.js There were no places for replacement in two of the files. I downloaded the 2.8 api/sdk files and have gotten through the textual replaces outlinned in steps 1-22 in the supplied install.htm document. Inside step 23 of the install doc you are instructed to browse to the following url. http://<myserver>/arcgis/_js_api/library/2.8/arcgis/ or http://<myserver>/arcgis/_js_api/library/2.8/jsapicompact/ I was never able to get this first link to work as written.. I think there is a typo. If you try... http://<myserver>/arcgis/_js_api/library/2.8/jsapi/ you will get a page describing the version of dojo you have installed. The second link seems to work just fine. The included Test Code has not worked as of yet. I have changed the <MyServer> to the appropriate name and am getting two Console errors. #1) "r is null" in jsapi(line 14) #2) "uncaught exception: Could not load cross-domain resources: esri.map" If anyone has any suggestions I would welcome the input.
... View more
05-16-2012
06:14 AM
|
0
|
0
|
2338
|
|
POST
|
I am working through the Install directions for JavaScript API version 2.7. All of my 2.7 API files are in the wwwroot\arcgis_js_api\library folder. Looking at the 2.7\jsapi\js\esri\esri.js file you are told to search and replace the "[HOSTNAME_AND_PATH_JSAPI]" with your information: "http://myserver/arcgis_js_api/library/2.7/jsapi/". However, there are no mentions of "[HOSTNAME_AND_PATH_JSAPI]" in this particular file. Nor are there any mentions of this text inside the other files you are to work with. Has anyone got this working? If so which version worked for you? Thanks.. I have run it locally on every version since 1.6 (including currently running 2.8) there are 6 files to change esri.js dojo.xd.js dojo.xd.js.uncompressed.js plus the same in the compact folder in each file there is 1-3 lines that contain [HOSTNAME_AND_PATH_TO_JSAPI] for example in esri.js "[HOSTNAME_AND_PATH_TO_JSAPI]js/esri" this is where you replace it.
... View more
05-15-2012
07:42 AM
|
0
|
0
|
2338
|
|
POST
|
I've checked the logs, no help there. But I see the list of "Server Directories" in ArcGIS Server Manager..and am hoping that it's one of those. I have a request in to get permissions for those directories just to test it out. in your gp service, what is gp.ScratchWorkspace = "c:/temp/rasteroutput" that would be where i start. remember, that path is a server path, not local
... View more
05-14-2012
08:27 AM
|
0
|
0
|
2961
|
|
POST
|
Permissions could be the issue...any idea which directory is used to download tiles before creating the PDF? I just tested an external/public map service and I'm having the same issue...so seems like you might be onto something. Just have to figure out which directories to give permissions...will poke around the ArcGIS Server Manager and see if any directories are listed there. will let you know 🙂 no idea on directory, check your arcgis server log 🙂
... View more
05-14-2012
08:12 AM
|
0
|
0
|
2961
|
|
POST
|
Sounds like your web server is having difficulties with the requests. Is it a windows box? have you tried install Desktop on the webserver and running the GP task there? Maybe its a permissions issue where the ArcGISSOC user is trying to write the tiles to a temp directory that it doesnt have permissions on.
... View more
05-14-2012
07:37 AM
|
0
|
0
|
2961
|
|
POST
|
right, i think its an error in the original code. That bracket seems to close the function, which means the comma after it doesnt make sense. Just saying IE has a huge issue with commas where they dont belong. It will shatter JSON, in IE for example, but chrome and mozilla will be fine.
... View more
05-14-2012
07:22 AM
|
0
|
0
|
1076
|
|
POST
|
My only only guess is a proxy issue where the webserver can see you local services but not arcgisonline. Have you tried (just to rule out) other tiled services? Also, are you in Web Merc Aux Sphere? or are you projecting you operational layers on the fly. Hi All, I'm having to use ArcGIS 10 to export a map to PDF, and followed the 'export map to pdf using python geoprocessing toolbox' approach detailed at the following URL. I've had some success, it actually prints the PDF with some layers...but...the ESRI basemap layers are not included in the map when I access the geoprocessing toolbox through the REST service "Submit Job/Execute Task". If I run the 'ExportToPDF' tool on my local machine...it works perfectly...just not through the web service...I've viewed the messages and it's running without error...but the resulting PDF only has my 'operational layers', but NOT the ESRI basemap. I've run out of ideas on this one...anybody have an idea? I've also attached my result... thanks, Dan http://www.arcgis.com/home/item.html?id=8f16fdeef39c46b3952002b2d85ea5de
... View more
05-14-2012
06:27 AM
|
0
|
0
|
2961
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|