Select to view content in your preferred language

Disable feature layer log in prompt?

666
2
Jump to solution
08-10-2012 11:54 AM
IanKramer
Regular Contributor
Hi, can anybody tell me how to disable the Log In pop-up in the FlexViewer 3.0 version?  It's the one that pops up for secure feature layers.  I customized my viewer code to obtain a token from the query string and assign it to all my services, but I still get the log in prompt.  I don't want to use this in my app.  I haven't been able to locate it in the source code anywhere. 

Thanks!

Ian
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
IanKramer
Regular Contributor
Dasa, thanks for the info!  It helped me find the solution.  I just had to disable the IdentifyManager in the ViewerContainer.  Here was the function.

private function initializeHandler(event:FlexEvent):void
            {
                IdentityManager.instance.enabled = false;
            }

View solution in original post

0 Kudos
2 Replies
DasaPaddock
Esri Regular Contributor
Are you using the Edit widget? If yes, see this thread:
http://forums.arcgis.com/threads/63034-Edit-widget-token?p=219615#post219615
0 Kudos
IanKramer
Regular Contributor
Dasa, thanks for the info!  It helped me find the solution.  I just had to disable the IdentifyManager in the ViewerContainer.  Here was the function.

private function initializeHandler(event:FlexEvent):void
            {
                IdentityManager.instance.enabled = false;
            }
0 Kudos