Hello all,
I am using APEX 20.1.
I have a need to display a message after a user authenticates into the app. The message needs a 'confirm' or 'ok' as a type of pause before fully entering into the application.
if apex_authentication.is_authenticated then
apex.message.confirm( "Notication message.", function( okPressed ) {
if( okPressed ) {
afterLoad();--not sure what goes here?
}
});
else
--Something? I am not sure what this would be.
end if;
What I came up with is something like what is above. I am not sure where to "put" this code for it to run after authentication. Global page? As a computation for each page that could be an "entry point?"
I am also unsure of two aspects within the code.
What should be where "afterLoad()" is located that means the user is simply taken to the page?
What the "else" should be? Or, if there should be an "else?"
Any help is very much appreciated
Thank you,
Derek