IBM BPM, V8.0.1, All platforms > Customize and rebranding interfaces > Customize Process Portal > Customize banners

Create custom logout behavior for Process Portal

You can customize the behavior of the Logout link in the banner of a Process Portal to run custom code when a user logs out.

This procedure assumes you have already created the code for the custom logout behavior, and that the code uses only declared public Lotus Mashup APIs.


Procedure

  1. Create your own copy of the banner content file folder.
  2. Open the index.jsp file in the copy of the folder created.
  3. Edit the following line of code in the index.jsp file to point to your custom logout code: window.customLogoutFunction = theme_customLogoutFunction;

    For example:

    window.customLogoutFunction = = function() {
    // add custom logic here} 
    window.customLogoutFunction = window.customLogoutFunction;
    dojo.connect(window, "onunload", customLogoutFunction); 
  4. Save the index.jsp file.

Customize banners in Process Portal