Portal Greeting on Tools 8.50 May 21, 2010Posted by Duncan in Look and Feel, PeopleTools 8.50, PIA.
I’ve posted before about using the Portal Greeting / PIA Welcome message to display something useful here. I’ve recently come to implement this on a client and discovered that the method I suggested no longer works for Tools 8.50.
Pleasingly, it’s now actually slightly easier to achieve (and will appear on all pages, not just the Home Page).
Open up App Package PT_BRANDING, the Class BrandingBase and search for the string ‘add &addjs’. Immediately preceding that line, add the following line of code:
&greeting = "User: " | %UserId | " on Database: " | %DbName;
(Plus some comments identifying the customisation etc.)
This will do the trick, but the end result looks a bit big and blocky. It’s a piece of cake to alter the greeting style to achieve a much better looking result.
Open the PSHOMEPAGE Freeform Style Sheet, locate the greeting style class and replace it with this:
font-family: Arial, Helvetica, sans-serif;
margin: 0 0 0 70px;
The end result will look something like this (I’ve also added bold tags around the UserID and Database for clarity):