jump to navigation

Portal Greeting on Tools 8.50 May 21, 2010

Posted by Duncan in Look and Feel, PeopleTools 8.50, PIA.
trackback

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:

.greeting {
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
margin: 0 0 0 70px;
line-height: 24pt;
}

The end result will look something like this (I’ve also added bold tags around the UserID and Database for clarity):

Advertisements

Comments

1. Nicolas Gasparotto - May 21, 2010

Thanks for that nice input ! That remember me a discussion there was in OTN Forum, the poster was looking exactly for this !
http://forums.oracle.com/forums/thread.jspa?messageID=4145518&#4145518
I’m going to link your entry into that thread.

Nicolas.

2. Prashant - May 21, 2010

Thanks a lot!!

3. Jeremy C. Radwan - May 21, 2010

Another great tip, thanks! I will definitely use this for my non-production environments.

4. rajendra - April 13, 2011

thanks a lot

5. Rahul P - April 1, 2013

This works until Peopletools 8.51. How can we make it work in 8.52?

Jeremy C. Radwan - April 12, 2013

It still works for me (we upgraded to Tools 8.52 back in January 2012) but it looks like I had to move the code in PT_BRANDING base. It needs to go here:

REM SES global search;
rem %This.GetSearchCategories();

&greeting = “User: ” | %UserId | ” | Database: ” | %DbName;

/* add &addjs to PT_IFRAME_HDR_SWAN (bind 22) and PT_IFRAME_HDR(bind 23) */

Also, this will appear on ALL pages, instead of just the home page, which is nice.


Sorry comments are closed for this entry

%d bloggers like this: