<operationallayers> <layer label="Service1" type="dynamic" visible="false" url="http://localhost/ArcGIS/rest/services/Service1/MapServer"/> <layer label="Service2" type="dynamic" visible="false" url="http://localhost/ArcGIS/rest/services/Service2/MapServer"/> <layer label="Service3" type="dynamic" visible="false" url="http://localhost/ArcGIS/rest/services/Service3/MapServer"/> </operationallayers>
I'm using FV 3.0 Prerelease and 10.1 Prerelease.
I may have misstated my issue. I've noticed that if I log onto the web application as a user who has permissions to all the secured map services featured on the site I only see the log-in pop-up once. However, if I log onto the web application as a user who doesn't have permissions to all the services a log-in will pop up multiple times and errors are generated which say that some of the services could not load (because the user doesn't have permissions to use them).
I guess my question is how can I create a log-in pop-up (or log-in screen) that a user can log-in once and only the services that he/she has permissions to will be populated on the site (without the multiple log-ins or permission errors)?
Thank you for your help on this.
Are you using 3.0 Prerelease or Beta 1?
What version of 10.1 server are you using?
If you check the traffic using a tool like HttpFox, you should see it first trying to get the json for the layers and the response saying that a token is required, and then after you log in, you should see it trying again with a token added to the request. What is the response to these requests?
[ATTACH=CONFIG]14952[/ATTACH]