|
POST
|
Have you resolved this yet? I am having the same exact issue. SSL is set, Roles and Users are ok. I can test this through the REST services login page. But the IdentityManager widget gives me a "unable to access the authentication service". when trying to access from a web application. have you registered you server with the identity manager? at 2.6 (i believe) and below it would guess, now you have to explicitly set it function initSecurity() { var serverInfo = new esri.ServerInfo(); serverInfo.server = '<https server>'; serverInfo.tokenServiceUrl = '<https server>/arcgis/tokens/generateToken'; esri.id.registerServers([serverInfo]); };
... View more
09-14-2012
08:31 AM
|
0
|
0
|
2493
|
|
POST
|
I couldn't agree more. And I think we all prefer rapid releases instead of waiting a week after an announcement just for notifcation purposes. And i am aghast that you miss deadlines. 😄 In all seriousness. Love the communication, love the product. Not much more we can ask for.
... View more
09-12-2012
07:28 AM
|
0
|
0
|
767
|
|
POST
|
derek. First - really appreciate the dialog. second - YES css line fixed everything!! thankl you third - the impetus for the beta request is more selfish. Basically when the new Api comes out, it kinda feels like Api by ambush. NEed to drop everything to stay current. Otherwise it is easy to fall behind, and going from 3.1 to 3.2 is alot easier than going from 2.6 to 3.2 (for example). I like the rapid release schedule, and the development cycle. I think what I am looking for is more of a "Will be out in one to two weeks" or "Target date is Oct 1" as opposed to - "Surprise, came out an hour ago".
... View more
09-12-2012
06:41 AM
|
0
|
0
|
4042
|
|
POST
|
It was your "due out shortly" comment. I misinterpreted. I appreciate the response. I was more hoping that there was a way/process where the development community could be a bit more involded in development/planning/beta via a forum, blog, etc..as opposed to strictly being a comsumer/bug finder type role 🙂
... View more
09-12-2012
05:53 AM
|
0
|
0
|
4042
|
|
POST
|
Sorry, wasn't sure where else to post this. Is there a beta forum somewhere? I am seeing massive issues with 3.2, particularily with tiled services (both local and ago) and dynamic (WMS seems to work ok). The tiles (including dynamic services) are completely scrambled, yet correct within the tile . Screen shot shows green lines (local tiled service), red lines (local dynamic service) and AGO street map in background. 3.1 api [ATTACH=CONFIG]17629[/ATTACH] 3.2 api [ATTACH=CONFIG]17630[/ATTACH]
... View more
09-12-2012
05:36 AM
|
0
|
0
|
4042
|
|
POST
|
FOr us it is a simple matter of resources. We have 1 (maybe 1.5) developers. Do we maintain one HTML5 app, which is difficult enough to keep current with dojo/api updates, or do we maintain 3 or 4 separate apps (ios, android, winmob at a minimum, plus a web app that cant go away) each with their own suite of requirements. The choice for us was very, very obvious.
... View more
09-12-2012
04:54 AM
|
0
|
0
|
1116
|
|
POST
|
No you can not, as this would eliminate the need for ArcGIS Server licenses.
... View more
09-05-2012
04:38 AM
|
0
|
0
|
930
|
|
POST
|
i was wondering if it is detecting a duplicate. Maybe you could get around by manually specifying an index map.addLayer(layer, map.layerIds.length+1);
... View more
08-29-2012
12:48 PM
|
0
|
0
|
4101
|
|
POST
|
excellent derek thanks for the answer and links vvoovv if you feel like derek (Swingley) answered your question, please click the little check mark on the right side of his post to mark it as "answered"
... View more
08-24-2012
09:17 AM
|
0
|
0
|
340
|
|
POST
|
jeff.pace: It looks like the spatial reference of the map is set to the spatial reference of the map's extent. I checked this in the debugger Ok, sounds like other stuff that the graphics layer is dependent on is not created in the map object until a layer is added. Unfortunate in your scenario, but probably necessary in general.
... View more
08-24-2012
06:58 AM
|
0
|
0
|
2490
|
|
POST
|
Here's the pertinent parts of function that adds a dynamic layer. Same concept for feature layers. var url;
if (l.token == true) {
url = l.url + '?token=' + config.token
} else {
url = l.url
}
var layer = new esri.layers.ArcGISDynamicMapServiceLayer(url, {
id: l.id,
visible: l.visible,
opacity: l.opacity
});
layer.setImageFormat(l.imageFormat);
layer.setDPI(l.dpi);
if (l.legend == true) {
app.mapParams.legendLayers.push({
layer: layer,
title: l.name
})
}
app.map.addLayer(layer); As you can see I'm manually appending the token. When the page loads the first javascript file is php that returns "var token = THE_TOKEN;" based on the referrer or I include the token in my config object as above. It's a little archaic, but that's how I've done it since the beginning. I can see where this going; probably time to get acquainted with IdentityManagerBase. yes, however in the short term, on your if (l.token == true) { you could just change it to check and see if a token is already in the url. since there is no indexof for string in dojo (grr) function oc(a){
var o = {};
for(var i=0;i<a.length;i++)
{
o[a]='';
}
return o;
} if (l.token == true && "token=" in oc(l.url))
... View more
08-24-2012
06:53 AM
|
0
|
0
|
2161
|
|
POST
|
Its definitely a hack, that's why i suggested it. You should see my code 😉 Have you tried manually setting the spatial reference of the map after creating it? I know that is what happens when the first layer loads, so maybe that is all that is missing.
... View more
08-24-2012
06:15 AM
|
0
|
0
|
2490
|
|
POST
|
Can you post your legend creation code? Are you manually appending the token?
... View more
08-24-2012
06:13 AM
|
0
|
0
|
2161
|
|
POST
|
Just add layer from AGO (like the world basemap), then set the visibility off.
... View more
08-24-2012
05:12 AM
|
0
|
0
|
2490
|
|
POST
|
Well I appreciate the solution. I am really glad we rooted this out, it solved two things for me 1. Local access of api 2. WMS "spatialReference.wkid is null" errors when accessing wms.js for WMS service's from Lizardtech Express Server odd, but appreciated.
... View more
08-23-2012
04:44 AM
|
0
|
0
|
406
|
| 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
|