Professional Documents
Culture Documents
1 Introduction.......................................................................................................................3
1.1 Objective....................................................................................................................3
1.2 Scope..........................................................................................................................3
2 Implementation ................................................................................................................3
2.1 Rule sets.....................................................................................................................3
2.2 Access Groups...........................................................................................................3
2.3 Customize the files.....................................................................................................4
2.3.1 Update HTML/CSS ...........................................................................................5
3 Testing...............................................................................................................................7
1 Introduction
1.1 Objective
The standard login and log out splash screens are shipped with PRPC. This document
covers the details on how to replace the standard screens/contents with customized design
of login and logout screens based on the organizational logos and needs.
1.2 Scope
This document provides the implementation details for incorporating customized login
screen for PRPC applications
2 Implementation
2.1 Rule sets
Process Commander presents the log-in form to guest requestors — users who have
started the PRServlet servlet but are not yet authenticated. The RuleSet lists of guest
users are limited to those RuleSets and versions listed in the
PegaRULES:Unauthenticated access group.
Create a RuleSet and version to hold the rules that are to be available to un-authenticated
users. Give this RuleSet version a name that makes it easily identifiable, such as
LoginScreen: 01-01-01.
Create a new access group for users. Add the LoginScreen: 01-01-01 RuleSet version in
Production RuleSet of this access group as well as your current access group.
Note: You cannot edit any PegaRULES access groups.
Log-out from the application and log-in again to access the new RuleSet version.
Add the new access group to the BROWSER requestor type and select the radio
button next to it.
Save the log-in and log-out screen component rules into the new RuleSet
version.
The log-in and log-out screens are comprised of the following images and rules:
• CopyrightNotice — The HTML fragment that contains the values that construct the
Copyright statement in the footer of the splash screens. Save this rule into your
RuleSet using a different name, such as CopyrightNoticeCustom.
body {
margin: 10px;
font-family: Tahoma, Arial, sans-serif;
font-size: 10pt;
text-align: center;
background-image:
url(webwb/desktopimages/pxloginbackgroundCustom.jpg);
background-position: top center;
background-repeat: no-repeat;
background-color: #8da3b5;
}
#logo {
margin: 0 auto;
display: block;
width: 535px;
height: 535px;
background-image:
url(webwb/desktopimages/pxlogindivbackgroundCustom.png);
}
.loginButton {
background-image:
url(webwb/desktopimages/pxloginbuttonCustom.png);
width: 125px;
height: 36px;
margin: 0px;
padding: 0px;
cursor:pointer;
}
Note: Be sure to adjust the height and width attributes if the dimensions of your uploaded
images differ from the originals..
Edit the footer div element to change the color and positioning of the Copyright
statement:
div#footer span {
padding: 2px;
font-size: 7pt;
color: #31669A;
vertical-align: middle;
width: 15%;
text-align: center;
white-space: nowrap;
}
In the document HTML, find and edit the following to include the updated copyright
information:
<div id="footer">
<pega:include name="CopyrightNoticeCustom"/>
</div>
Caution You can further edit the text, colors, and layout in both the web-login and web-
session-return HTML rules . However, editing any <pega: > JSP tags, <form>, or <input>
elements may render you unable to log-in to your system
3 Testing
Empty your browser cache to see the latest changes.
The rules containing the new images are now available to guest users. However, your
workstation browser cache may contain the older files. To clear your workstation cache
(when using Internet Explorer), sign off from Process Commander, close any windows that
display the image, and choose Tools > Internet Options >General > Temporary Internet Files
> Delete.
Access your system. You should now be able to view the replacement log-in and log-out
splash screens