Robert
I have solved the config problem by making the usrconfig as global variable and setting default config in viewer container as that variable . I would like to know if that is a good approach. ?
I can also see that service provide me the user name and last name . I want to pass that string to show on widget panel the logged in user along with logout option . Any insight regarding that.??
Regards
Saurabh
Saurabh,
All of that is handled in the ViewerContainer.mxml file that is in the zip I provided a link for.
//retrieve config from login and override FlashVar and URL
if(FlexGlobals.topLevelApplication.usrConfigfile != ""){
configFile = FlexGlobals.topLevelApplication.usrConfigfile;
}
The index.mxml has a public var called usrName that you can access for the logged in user.