Search This Blog

Monday, September 28, 2009

How to Hide the Menu Bar and Header in a PeopleSoft Page

First, you need to create a derived record with the HTMLAREA field. Then in the Row init of this field you need to copy the following code.

Global integer &transfer;

Local integer &tr;


&tr = &transfer;

rem Error "" | &transfer;

If &tr = 1 Then;

#RECORDNAME#.HTMLAREA.Value = "<script type='text/javascript'>if


&transfer = 0;


The you need to place an html are in the target page, linked to the HTMLAREA field in the record previously created. Finally, you need to add the following code in the source page (the page with the button/link that makes the transfer to the target page) just before the Transfer function:

Global integer &transfer;


And thats it!

No comments:

Post a Comment