Difference between revisions of "PT Portlet After Login"

From ADF Docs
Jump to: navigation, search
(Created page with '== 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…')
 
 
Line 9: Line 9:
 
* If not, copy the file from the PT Portlet App and place in under the site root.
 
* 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.
 
* If so, open the file within the PT Portlet App and append the block of code to your existing file.
 +
 +
[[Category:Portlet]]

Latest revision as of 20:09, 12 January 2012

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.