GoHome Method of GAMApplication Object

Official Content

It does not receive any parameter and redirects to the Home Object of the current GAM Application (the one specified in the application.gam file).

Example

Take a look at the GAMHome object (distributed with the GAM Examples):

Event Start
    If GAMSession.IsValid(&GAMSEssion, &GAMError) and not &GAMSEssion.IsAnonymous
        &GAMApplication = GAMApplication.Get()
        &Id = &GAMApplication.Id
        If NOT &GAMApplication.HomeObject.IsEmpty()
            GAMApplication.GoHome()
        EndIf
    Else
        GAMExampleLogin()
    EndIf    
Endevent

See also