I want to be able to click a button on the main screen and then show the current user profile screen with current user's info ready for edit. I don't want to display a browse screen of the user first and then open the edit screen for it!
I have already got the current user object from the middle tier and it's available for javascript. Then I have tried creating my own method where I attempt to open the AddEditUser screen passing it the current user object.
This one of the solutions I have tried by it didn't succeed:
myapp.BrowseStuff.ShowAddEditUser_execute = function (screen) {
screen.ShowAddEditUser( myapp.currentUser );
};
What am I doing wrong?
Thanks.