Hi Isaias, there you go:

At the end of the oWebApp object declaration.

Comment the phoDefaultView property that may be set.
Code:
//Set phoDefaultView to oDashboard
And for each possible target "default" view , you have to register it
Code:
    WebRegisterPath ntNavigateBegin oMainDashboard
    WebRegisterPath ntNavigateBegin oAlternateDashboard
    WebRegisterPath ntNavigateBegin oAdminDashboard
    ...
Then implement GetDefaultView function returning the object handle you want to be the "default" one based in your business logic.
Example:
Code:
    Function GetDefaultView Returns Handle
        String sPlant
        Get psUserPlant of ghoWebSessionManager to sPlant 
    
        If      (sPlant = "M") Function_Return (Object_Id(oMainDashboard))
        Else If (sPlant = "B") Function_Return (Object_Id( oAlternateDashboard ))
        Else Function_Return 0 
        
    End_Function
Regards