PeopleSoft GUI Tips & Tricks
PeopleSoft GUI Tips & Tricks
8
GUI Configuration Tips
Contains: Authors:
PeopleSoft 8.8 Enterprise Portal GUI Hsing Huang and Maria Gummerson
Branding Use Cases PeopleSoft Enterprise Portal Development
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
August 2003
PeopleSoft 8.8 Enterprise Portal GUI Configuration Tips
Comments on this document can be submitted to: [email protected]. We encourage you
provide feedback on this Red Paper and will ensure that it is updated based on feedback received.
When you send information to PeopleSoft, you grant PeopleSoft a non-exclusive right to use or
distribute the information in any way it believes appropriate without incurring any obligation to you.
This material has not been submitted to any formal PeopleSoft test and is published AS IS. It has not
been the subject of rigorous review. PeopleSoft assumes no responsibility for its accuracy or
completeness. The use of this information or the implementation of any of these techniques is a
customer responsibility and depends upon the customer's ability to evaluate and integrate them into
the customer's operational environment.
Table of Contents
Table of Contents .......................................................................................................... 3
Chapter 1 - Introduction................................................................................................ 5
Structure of This Red Paper ........................................................................................ 5
Related Materials......................................................................................................... 5
Chapter 1 - Introduction
This Red Paper is a practical guide meant for a technical audience, including Web and application
developers who implement or maintain applications of the PeopleSoft Enterprise Portal. In this Red
Paper we introduce you to the various features available for modifying the entire look and feel of your
PeopleSoft base portal or PeopleSoft Enterprise Portal.
This document can be used for the following PeopleSoft Enterprise Portal and PeopleTools releases:
• PeopleSoft 8.8 Enterprise Portal
• PeopleTools 8.42.xx through PeopleTools 8.45.xx
For information about previous releases of the PeopleSoft Enterprise Portal (SP1, SP2, or 8.4),
please refer to the Red Paper library and search for Portal GUI Tips Red Papers.
Related Materials
This Red Paper is not a general introduction to developing with PeopleSoft or making changes to a
PeopleSoft Portal environment. We assume that our readers are experienced Information
Technology (IT) professionals, with a good understanding of PeopleSoft’s Internet and Portal
Architecture. To take full advantage of the information covered in this document, we recommend that
you have a basic understanding of system administration, basic Internet architecture, relational
database concepts/SQL, the PeopleSoft Portal, and how to use PeopleSoft applications.
This document is not intended to replace the documentation delivered in PeopleBooks. We
recommend that before you read this document, you read the PeopleTools- and Portal-related
information in PeopleBooks to ensure that you have a well-rounded understanding of our PeopleSoft
Internet Architecture (PIA) technology.
Note. Much of the information in this document will eventually be incorporated into subsequent versions
of PeopleBooks.
Many of the fundamental concepts related to PeopleSoft development are discussed in the following
PeopleSoft PeopleBooks:
• PeopleTools 8.45 PeopleBook, PeopleTools Internet Technology
• PeopleSoft 8.8 Enterprise Portal PeopleBook
• PeopleTools 8.45 PeopleBook, PeopleSoft Application Designer (Development Tools |
Application Designer)
• PeopleTools 8.45 PeopleBook, PeopleCode Reference (Development Tools | PeopleCode
Reference)
Note. The homepage and target pages are processed differently, and there is no need to modify any
PeopleCode or customize database objects to change the portal interface. All modifications can be made
through setup and configuration.
Figure 1
7
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Figure 2
8
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Branding allows you to configure these design aspects, which wrap the actual portal content: the
header, footer, and navigation menu. You can configure multiple looks and combine them into
themes that you assign per portal site and optionally, per user role.
See PeopleSoft 8.8 Enterprise Portal PeopleBook, “Using Branding”
The remaining aspects of a homepage’s presentation of pagelets are configurable via the portal
registry using the attribute name/value pairs. When you register pagelets and define homepage tabs,
you can assign your own designs. Each portal site can assign different styles to the same pagelet.
Each site can also have distinct designs for its homepage tabs.
See PeopleTools Internet Technology PeopleBook, “Changing the Portal Interface”
Lastly, the design of the target content page is controlled by the content’s source application. For
PeopleSoft applications, the target content page layout is determined by the page definition created
using Page Designer. The target content page layout is incorporated into the template specified in
the portal registry when you register the page (component) as a CREF. Each type of target content
page (a PeopleSoft application page, a third-party application page, a website target page, and so on)
can be registered using a different template, if appropriate.
Note. Each portal site can register the same target content page using a different template, if required.
These complete page templates for target content pages may include a header and menu navigation, or
not. They can be frame templates or not. If no template is assigned to the CREF in the portal registry, a
default portal template is applied.
9
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Note. If both PeopleSoft Enterprise Portal Branding and Portal Registry Attribute Configuration are
checked, in general, you can use the portal registry attribute configuration to override the default HTML
objects. If you do not need to override the overall layout and only need to adjust colors and styles, you
can choose to include certain style classes in your branding style sheet. Including these style classes
also gives you greater control of the color scheme based on portal registry or user role, depending on
your Branding setup.
Background Information
Enabling Branding
Branding code resides in two different application packages/classes. For standard PeopleSoft
Branding, it’s PT_BRANDING:BrandingBase. For PeopleSoft Enterprise Portal Branding, it’s
EPPBR_BRANDING:BrandingBase. When you enable or disable Branding, the system actually
updates the values of PACKAGEROOT and APPCLASSID in the PSOPTIONS table behind the
scenes. You do not need to worry about updating the values manually, but you can view the
application class code for processing details, if you are interested.
10
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
The value of the bind number can be found in the calling PeopleCode program that binds the object
to the HTML definition.
&HTML = GetHTMLText(HTML.TEST,”www.peoplesoft.com”)
By providing a set of predefined bind variables as system elements, the Branding PeopleCode
program will know how to assemble the HTML syntax according to the system element assigned.
Keep in mind that any changes to the system element number and type are not allowed. You should
also include all non-configurable system JavaScript/HTML %binds, as they reference JavaScript files
(TimeOut warnings, for example), forms, or additional HTML that enable the system to work properly.
11
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
12
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
</html>
B. Select File, Save As and give the HTML object a new name. We will name the example
PLANET_PSFT_HDR_HTML.
13
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
14
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
15
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Following is the original HTML. Text highlighted in yellow denotes style class code. Text
highlighted in blue denotes HTML code that you want to convert to system elements.
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr valign="top">
<td valign="top" rowspan="2"><a proxied="false"
href="http://my.company.com/servlets/psportal/peoplesoft8/?cmd=start"><im
g name="logo"
src="http://planetx.peoplesoft.com/planet_content/images/planet/logos/myp
lanetps.gif" border="0"></a>
</td>
<td rowspan="2" width="100%"></td>
<td valign="top" align="right">
<table bgcolor="#ffffff" border="0" cellpadding="0"
cellspacing="0">
<tr valign="top">
<td valign="top" width="87" align="right"><img
src="http://planetx.peoplesoft.com/planet_content/ima
ges/planet/planet_header_corner_fade.jpg" width="112"
height="21" border="0">
</td>
<td bgcolor="#000000" nowrap valign="middle"
align="right"><font color="#FFFFFF"><a
proxied="false"
href="http://my.company.com/servlets/psportal/peoples
oft8/?cmd=start" target="_parent"
class="EBIZ_WHITE_HYPERLINK">Home</a> | <a
href="http://my.company.com/servlets/psportal/peoples
oft8/?url=https%3a%2f%2fptop.only.wip.la%3a443%2fhttp%2fmy.company.com%2fservlets%2fic
lientservlet%2fpeoplesoft8%2f%3fICType%3dScript%26tar
get%3dmain%26ICScriptProgramName%3dWEBLIB_EBIZ_LNK.IS
CRIPT1.FieldFormula.IScript_Dir%26ID%3d0000000001"
target="_parent" class="EBIZ_WHITE_HYPERLINK">Map</a>
| <a
href="http://my.company.com/servlets/psportal/peoples
oft8/?url=https%3a%2f%2fptop.only.wip.la%3a443%2fhttp%2fmy.company.com%2fservlets%2fic
lientservlet%2fpeoplesoft8%2f%3fICType%3dPanel%26Menu
%3dADMINISTER_EBIZ%26Market%3dGBL%26PanelGroupName%3d
EBIZ_CONTACT_US" target="_parent"
class="EBIZ_WHITE_HYPERLINK">Contact Us</a> | <a
href="http://my.company.com/servlets/psportal/peoples
oft8/?url=https%3a%2f%2fptop.only.wip.la%3a443%2fhttp%2fwww.peoplesoft.com"
target="_parent"
class="EBIZ_WHITE_HYPERLINK">PeopleSoft.com</a> | <a
href="javascript:void
window.open('http://my.company.com/servlets/iclientse
rvlet/peoplesoft8/?ICType=Script&target=main&
ICScriptProgramName=WEBLIB_EBIZ_LNK.ISCRIPT1.FieldFor
mula.IScript_Hlp&ID=0000000004',
'Help','width=800,height=600,resizable=yes,directorie
s=no,toolbar=no,menubar=no,location=no,copyhistory=no
');" target="_parent" class="EBIZ_WHITE_HYPERLINK"
style="cursor:help">Help</a> | <a proxied="false"
href="http://my.company.com/servlets/psportal/peoples
oft8/?cmd=logout" target="_parent"
class="EBIZ_WHITE_HYPERLINK">Sign
Off</a> </font>
</td>
</tr>
</table>
</td>
</tr>
16
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
<tr valign="top">
<td align="right" valign="top"><img name="peoplepowertheinternet"
src="http://planetx.peoplesoft.com/planet_content/images/planet/logos/peo
plepowertheinternet.gif" width="390" height="35" border="0">
</td>
</tr>
</table>
17
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
%2fmy.company.com%2fservlets%2ficlientservlet%2fpeoplesoft8%2f%3fICType%3
dPanel%26Menu%3dPORTAL_PERS_HOMEPAGE%26Market%3dGBL%26PanelGroupName%3dPO
RTAL_HOMEPAGE%26PORTALPARAM_PAGE%3dLAYOUT"><img border="0"
src="http://planetx.peoplesoft.com/planet_content/images/planet/layout.gi
f" align="middle" width="55" height="15"></a><br>
<!--======================== END: PERSONALIZATION
==========================--> <!--
</td>
</tr>
</table>
• %bind(:32)
<img
src="http://planetx.peoplesoft.com/planet_content/images/planet/pl
anet_header_corner_fade.jpg" width="112" height="21" border="0">
• %bind(:33)
<img name="peoplepowertheinternet"
src="http://planetx.peoplesoft.com/planet_content/images/planet/lo
gos/peoplepowertheinternet.gif" width="390" height="35"
border="0">
• %bind(:34)
<img
src="http://planetx.peoplesoft.com/planet_content/images/planet/sh
im.gif" width="100%" height="1" border="0">
• %bind(:6)
<td bgcolor="#000000" nowrap valign="middle" align="right"><font
color="#FFFFFF"><a proxied="false"
href="http://my.company.com/servlets/psportal/peoplesoft8/?cmd=sta
rt" target="_parent" class="EBIZ_WHITE_HYPERLINK">Home</a> | <a
href="http://my.company.com/servlets/psportal/peoplesoft8/?url=htt
p%3a%2f%2fmy.company.com%2fservlets%2ficlientservlet%2fpeoplesoft8
%2f%3fICType%3dScript%26target%3dmain%26ICScriptProgramName%3dWEBL
IB_EBIZ_LNK.ISCRIPT1.FieldFormula.IScript_Dir%26ID%3d0000000001"
target="_parent" class="EBIZ_WHITE_HYPERLINK">Map</a> | <a
href="http://my.company.com/servlets/psportal/peoplesoft8/?url=htt
p%3a%2f%2fmy.company.com%2fservlets%2ficlientservlet%2fpeoplesoft8
%2f%3fICType%3dPanel%26Menu%3dADMINISTER_EBIZ%26Market%3dGBL%26Pan
elGroupName%3dEBIZ_CONTACT_US" target="_parent"
class="EBIZ_WHITE_HYPERLINK">Contact Us</a> | <a
href="http://my.company.com/servlets/psportal/peoplesoft8/?url=htt
p%3a%2f%2fwww.peoplesoft.com" target="_parent"
class="EBIZ_WHITE_HYPERLINK">PeopleSoft.com</a> | <a
href="javascript:void
window.open('http://my.company.com/servlets/iclientservlet/peoples
18
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
oft8/?ICType=Script&target=main&ICScriptProgramName=WEBLIB
_EBIZ_LNK.ISCRIPT1.FieldFormula.IScript_Hlp&ID=0000000004',
'Help','width=800,height=600,resizable=yes,directories=no,toolbar=
no,menubar=no,location=no,copyhistory=no');" target="_parent"
class="EBIZ_WHITE_HYPERLINK" style="cursor:help">Help</a> | <a
proxied="false"
href="http://my.company.com/servlets/psportal/peoplesoft8/?cmd=log
out" target="_parent" class="EBIZ_WHITE_HYPERLINK">Sign
Off</a> </font>
• %bind(:4)
<a
href="http://my.company.com/servlets/psportal/peoplesoft8/?url=htt
p%3a%2f%2fmy.company.com%2fservlets%2ficlientservlet%2fpeoplesoft8
%2f%3fICType%3dPanel%26Menu%3dPORTAL_PERS_HOMEPAGE%26Market%3dGBL%
26PanelGroupName%3dPORTAL_HOMEPAGE%26PORTALPARAM_PAGE%3dCONTENT"><
img border="0"
src="http://planetx.peoplesoft.com/planet_content/images/planet/co
ntent.gif" align="middle" width="55" height="15"></a> <a
href="http://my.company.com/servlets/psportal/peoplesoft8/?url=htt
p%3a%2f%2fmy.company.com%2fservlets%2ficlientservlet%2fpeoplesoft8
%2f%3fICType%3dPanel%26Menu%3dPORTAL_PERS_HOMEPAGE%26Market%3dGBL%
26PanelGroupName%3dPORTAL_HOMEPAGE%26PORTALPARAM_PAGE%3dLAYOUT"><i
mg border="0"
src="http://planetx.peoplesoft.com/planet_content/images/planet/la
yout.gif" align="middle" width="55" height="15"></a><br>
• %bind(:7)
Welcome User
• %bind(:51)
<!--Begin iclientcomponent: PSFT%20Stock URL:
http://my.company.com/servlets/iclientservlet/peoplesoft8/?ICType=
Script&ICScriptProgramName=WEBLIB_EBIZ.ISCRIPT1.FieldFormula.IScri
pt_PSFT_Stock--><span>
<table border="0" cellpadding="0" cellspacing="0"
width='100%'><tr><td nowrap><a
href='http://my.company.com/servlets/psportal/peoplesoft8/?url=htt
p%3a%2f%2ffinance.yahoo.com%2fq%3fs%3dPSFT%26d%3dt' title='Last
updated on 3/12/2003 at ET' class='PSHYPERLINK'>PSFT</a>
15.352 <font
color='#008000'>+0.032</font> <br><center><font
size="1"><a
href='http://my.company.com/servlets/psportal/peoplesoft8/?url=htt
p%3a%2f%2fplanetx.peoplesoft.com%2fdisclaimer%2fstockquote.htm'>Qu
ote delayed 20
minutes</a></font></center></td></tr></table></span><!--End
iclientcomponent: PSFT%20Stock -->
19
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
ii. If the styles you are using are reusable, convert them into a PeopleSoft style
sheet and use the style sheet in a theme in which the header will be deployed.
iii. You can also link to an external cascading style sheet, (CSS), as you do when
you are coding normal HTML.
It is more flexible to use PeopleSoft style sheets, as you can achieve a different look and
feel by simply swapping in a different style sheet using the same HTML object or even
the same header.
D. Add custom JavaScript functions/scripts. Two options are available:
i. Use the system elements 51-60 to add additional HTML areas.
ii. Embed the code in the HTML object itself.
E. Save the final PLANET_PSFT_HDR_HTML HTML object.
Following is the final HTML object text:
<html>
<head>
%bind(:21)
<title></title>
<!-- title is generated by Tools-->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--system generated HTML %bind22, %bind23, %bind24, %bind25, %bind26, %bind27-->
<script language='javascript' src='%bind(:22)'></script>
<script language='javascript' src='%bind(:23)'></script>
%bind(:24)
%bind(:25)
%bind(:26)
%bind(:27)
<!--%bind16, %bind17-->
<LINK REL="stylesheet" HREF="%bind(:16)" TYPE="text/css">
<LINK REL="stylesheet" HREF="%bind(:17)" TYPE="text/css">
<style type="text/css">
<!--custom style begins-->
20
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
21
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
i. Images: you can move the images into the database or select URL as Image
Source and then specify URL values
22
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
23
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Style Conflicts
The user homepage usually includes a header, footer, menu navigation pagelet, and a few homepage
pagelets. There are several stylesheet references when the homepage is generated. They are
applied in the following sequence:
1. Stylesheet specified for the homepage pagelets, if any of the displaying homepage pagelets is an
iPage. This is set in the page properties in PeopleSoft Application Designer.
2. Stylesheet defined in the Define Menu Styles component, if the Enterprise Menu pagelet is on the
homepage.
3. Stylesheet defined for the PeopleTools standard header.
4. Stylesheet defined in the theme definition.
You can have conflicting style classes within all of these stylesheets used in the template. For
example, if you have a style class named Big in the first stylesheet and also have a style class named
Big in the fourth stylesheet, there may be conflicting styles in the resulting homepage. Because the
conflicting styles are defined at the same level, the one applied later in the sequence takes
precedence.
In the homepage template, the stylesheet specified in the Branding theme definition always takes
precedence over competing stylesheets. For example, PSPAGE in the default stylesheet
EPPSTYLEDEF includes two pixels for the left margin. To override the left margin, we included
PSPAGE in the blue theme stylesheet EPPBRBLUESTYLEDEF, but changed the left margin to zero.
24
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
You can also have conflicting styles in your target content template. In a page-based template, the
stylesheet associated with the page used for the target content always takes precedence over
competing stylesheets. In a frame-based template, the stylesheet specified in each frame takes
precedence for the content within the frame.
In addition to the specifics mentioned above, all the rules of inheritance and conflicting styles of
cascading stylesheets still apply. We recommend that you keep your custom stylesheet definition as
clean as possible and include only the style classes needed to avoid style conflicts.
Menu Navigation
PeopleSoft Enterprise Portal has its own version of enterprise menu navigation. The menu styles
provided by Branding apply to the Enterprise Menu pagelet only. You can change the look and feel of
the menu navigation by specifying images and styles. While the following three style classes are also
used by the menu, they are not configurable through the same mechanism:
PTPAGELET: Style class for the pagelet.
PTPAGELETHEADER: Style class for the pagelet header.
PTPAGELETBODY: Style class for the pagelet body.
These style classes are hard-coded for all homepage pagelets that include the Enterprise Menu
pagelet in the left navigation. To vary the pagelet styles by Branding theme, add the style classes with
different style properties to the stylesheet included in the theme definition. Another option is to add
the style classes to the stylesheet included in the menu style definition, and whichever theme uses
the menu style will have the new styles.
25
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
IScript_UniHeader_PIA() will render the target content page header specified in the Branding
theme.
PeopleTools PeopleBooks contain details about creating templates and incorporating these iScript
calls into your template.
See PeopleTools Internet Technology PeopleBook, “Designing Portal Templates”
26
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Note. If you want to override the HTML object used by the pagelet, you are not required to use
PTPAGELETHEADER.
<table width="100%">
<tr>
<td width="28%" valign="top" class="PLANET_COL1">
<div id="COL1">
%BIND(:1)
</div>
</td>
27
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
<td width="6">
</td>
<td width="32%" valign="top" class="PLANET_COL2">
<div id="COL2">
%BIND(:2)
</div>
</td>
<td width="6">
</td>
<td width="32%" valign="top" class="PLANET_COL3">
<div id="COL3">
%BIND(:3)
</div>
</td>
</td>
<td width="6">
</tr>
</table>
28
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Following is the HTML object for the Content Workgroup pagelet. The color-coded text illustrates the
modifications made to the HTML that we describe above.
<!-- Begin Pagelet=%BIND(:5) -->
<!-- PageletState=MAX -->
<TABLE id="%BIND(:5)" CLASS="PTPAGELET" WIDTH="100%" CELLPADDING="0" CELLSPACING="0"
BORDER="1">
<TR>
<!-- Hide Pagelet Header
<TD CLASS="PTPAGELETHEADER">
%BIND(:1)
%BIND(:2)</nobr>
</TD>
-->
<TD CLASS="PLANETICONHEADER">
<!--image 12-->
<IMG SRC="%BIND(:12)" NAME="workgroup" border="0">
</TD>
</TR>
<TR>
<TD CLASS="PTPAGELETBODY" WIDTH="100%">
<Pagelet Name="%BIND(:2)">
<Source Pagelet="%BIND(:4)" href="%BIND(:3)" />
</Pagelet>
</TD>
</TR>
</TABLE>
<BR>
<!-- End Pagelet=%BIND(:5) -->
29
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Image example:
Copy the red text and replace the black text with your actual URL:
<IMG border=0 SRC=”http//library.peoplesoft.com/images/myimage.gif”>
Stylesheet example:
You can only select a PeopleSoft stylesheet when assembling a theme or setting menu overrides.
But you can to enter a style class that’s not in PeopleSoft. This provides a greater flexibility when
you want to use an external stylesheet or embed style classes within your HTML.
For embedded style classes, see the Planet PeopleSoft example from Chapter 3.
To link external stylesheets, copy the red text and replace the black text with your actual URL:
<LINK REL=”stylesheet” HREF=”http//library.peoplesoft.com/css/mystyle.css”
TYPE=”text/css”>
JavaScript example:
Copy the red text and replace the black text with your actual URL:
<SCRIPT LANGUAGE=”JavaScript”
SRC=”http//library.peoplesoft.com/javascript/myjs.js”>
Note. You can also use relative paths for each of these references. For example,
“/common/css/mycss.css”. This is assuming that the referenced web server is the same as the
PeopleSoft portal server, or that an alias has been created.
30
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
\\bea\wlserver6.1\config\peoplesoft\applications\PORTAL\WEB-INF\psftdocs\ps
Here is a list of HTML files that can be modified to meet your Branding requirements:
• signin.html
• expire.html
• cookiesrequired.html
• exception.html
• sslrequired.html
31
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
32
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
2. &Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV),
3. &Response.GetImageURL(Image.PT_PORTAL_IC_HOME),
4. &Response.GetImageURL(Image.PT_PORTAL_MENU),
5. &FavoritesHTML,
6. &AddToFavoritesHTML,
7. &HelpHTML,
8. &Response.GetImageURL(Image.PT_PORTAL_IC_LOGOUT),
9. &Response.GetImageURL(Image.NEW_PORTAL_HDR_CRV),
10. &Response.GetImageURL(Image.NEW_PORTAL_HDR_BG),
11. &Response.GetImageURL(Image.NEW_PORTAL_HDR_BG),
12. &Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV),
13. &Response.GetImageURL(Image.NEW_PORTAL_HDR_SHD),
14. &Response.GetImageURL(Image.NEW_PORTAL_HDR_TBR),
15. &styleSheet,
16. &homeURL,
17. &startURL,
18. &AddToFavFormHTML,
19. &logoutURL,
20. MsgGetText(95, 400, "Return Home"),
21. /*20*/MsgGetText(95, 401, "Home"),
22. MsgGetText(95, 402, "Return to Menu"),
23. MsgGetText(95, 403, "Menu"),
24. MsgGetText(95, 408, "Sign out"),
25. &Greeting,
26. &srchURL,
27. &Response.GetImageURL(Image.PT_PORTAL_GO),
28. &PersonalizeHTML,
29. "",
30. &SearchLabel,
31. &HelpJSHTML,
32. &homepageJS,
33. "",
34. &TabHTML,
35. &WLHTML,
36. &domainScript,
33
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
37. &Response.GetJavaScriptURL(HTML.PT_SAVEWARNINGSCRIPT),
38. &GoSaveWarnHTML,
39. &SaveWarnCrossDomainScript,
40. &Response.GetImageURL(Image.PT_HOME_TAB_ACTIVE_CENTER),
41. &Response.GetImageURL(Image.PT_HOME_TAB_INACTIVE_CENTER),
42. /*40*/&Response.GetImageURL(Image.PT_HOME_TAB_LINE),
43. %Request.ExpireMeta,
44. &CTIHTML,
45. &MCFHTML;
34
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Customer Validation
Field Validation
35
11/30/2004 PeopleSoft Red Paper: PeopleSoft Enterprise Portal 8.8 GUI Configuration Tips
Reviewers
Staci Ludwig
Revision History
November 19, 2004: Updated to reflect changes from PeopleTools 8.45
36