Table of Contents

PT_BRANDING Adding Custom Message to your PeopleSoft Application

Open Application Package PT_BRANDING, Application Class BrandingBase, Method GetIScriptHPDefaultHdrHTML.

Placing the Custom Heading on the Home Page

Replace:

Greeting = &Portal.Homepage.Greeting;

With:

&Greeting = %UserId | ”@” | %DbName;

Place the Custom Heading on Every Page

Open Application Package PT_BRANDING, Class BrandingBase
We will do some work on the methods:

Add the following code just before the “If &navTheme.isNS4x()” in both methods.

&Greeting = %UserId | ”@” | %DbName;

Per-User Greeting

INSERT INTO PSPRUHDEFN 
SELECT sysdate, ‘&oprid’, ‘ ‘, VERSION, ‘&portal’, ‘&oprid’, ‘&message’
FROM PSLOCK WHERE OBJECTTYPENAME = ‘PRUH’;

INSERT INTO PSPRUHTAB VALUES ( ‘&portal’, ‘&oprid’, ‘DEFAULT’, 0, ‘My Page’, 3, ‘PR_EMPLOYEE_DEFAULT’);

INSERT INTO PSPRUHTABPGLT VALUES ( ‘&portal’, ‘&oprid’, ‘DEFAULT’, ‘MENU’, 1, 1, 0);

Restart your PIA and Appserver, Clear CACHE etc. after any of these changes.

The above is NOT my work. This is sourced from the PeopleSoft Tipster