Greetings! I am working on a JS API app that uses some secured ArcGIS Server services. The IdentityManager does work well for this purpose, but I am using a Windows Domain for my user store and the app users have to type in a complete domain\username to be able to properly log in. This is not a big deal on a desktop, but it is much more difficult from an iPhone.
Is there a way to bypass the IdentityManager and save the username, so they don't have to type it in? They would still need to type in a password?
I have used both of these examples. This is not what I am looking for. I am trying to populate the username field of the IdentityManager and have the user key their password to login.
Why can't you use javascript to populate the username input element directly via DOM manipulation?
You know the id of the input element ahead of time so you can push a username into the value of that element from local storage. (Heck you can even use dijit.byId)
That is what I am trying to do. I guess I don't know the id of the username input element presented by the IdentityManager. I would use the on-create event of the IdentityManager to populate the username input field. I am sure I am going to dope slap my forehead, but it has eluded me. Thanks for your help!
The dialog-create event fires before the dialog is created. I have not been able to figure out how to populate the field as the dialog is presented. Any ideas of what event I need to listen for?