Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Atrium.onclose() is a function the user may define to run when the user clicks the Atrium Exit button or when the Atrium session times out.

The function should be defined in a JavaScript file located in /YourInstanceName/userdata/extension/atrium/.

Example

If your instance name is "profoundui", create a new file on your IFS: /profoundui/userdata/extension/atrium/settings.js

Define the function like shown in the following example to redirect a user to a sign on page instead of seeing the message to close the browser.

Atrium.onclose = function(){
  document.location = "/profoundui/atrium";
};

// Make sure this is set for extra security to tell the browser to not cache credentials.
Atrium.CLEAR_CREDENTIALS = true;
  • No labels