I am attempting to migrate a webapp and incorporate navigate path registration. The webapp uses a different dashboard view after a successful login, The following shows how I accomplished this in 19.0, but I can't make it work with 19.1. I have two questions:
1.) Is this still possible?
2.) If so, how do I correctly register the oLoggedInDashboard view?
Code:
Set phoDefaultView to oDashboard
WebRegisterPath ntNavigateBegin oLoggedInDashboard // <- this doesn't get it
Function GetDefaultView Returns Handle
Boolean bLoggedIn
Handle hoDefault
//
Get IsLoggedIn of ghoWebSessionManager to bLoggedIn
//
If bLoggedIn Begin
Move oLoggedInDashboard to hoDefault
End
Else Begin
Forward Get GetDefaultView to hoDefault
End
Function_Return hoDefault
End_Function