PT Portlet After Login

From ADF Docs
Revision as of 20:09, 12 January 2012 by Mcarroll (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

The After Login CommonSpot hook is utilized to store the logged in username into a specific session variable for the PT Portlet application (session.user.ptportlet.profileid). This allows the variable to be customized based on the your implementation. Follow the steps below to setup the after login hook within your CommonSpot site.

Steps

  • In the PT Portlet application files, located the following file:
    • /ADF/apps/pt_portlet/site-files/after--login.cfm
  • Check if your site has a file under the site root with the name "after--login.cfm".
  • If not, copy the file from the PT Portlet App and place in under the site root.
  • If so, open the file within the PT Portlet App and append the block of code to your existing file.