Back Forward How to modify the splash image and log-in form

 zzz Show all 

Log-in formYou can replace the splash screen image and other aspects of the sign-on form with images and layout of your choosing.

This topic describes how to alter the most commonly changed elements.

zzz The goal

The standard Process Commander log-in form identifies Pegasystems Inc. and the Process Commander product in an image.

In your setting, an image or text that identifies your organization or the application may be more appropriate.

In addition, you can change the text or layout of the log-in form, or change the authentication processing performed upon log-in.

zzz Create an application RuleSet for guests

Process Commander presents this sign-on 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.

  1. Create an application RuleSet to hold the additional rules to be available to guest users. (For security reasons, don't use an existing RuleSet that contains other parts of your application to hold these.) For example, you can call the new RuleSet MyCorpSplash.
  2. Create a RuleSet Version 01-01-01 for this RuleSet.
  3. Open the access group instance named PegaRULES:Unauthenticated. Insert MyCorpSplash:01-01-01 into the Production RuleSets array.
  4. Save the Requestor form.
  5. Promptly after you complete and test any log-in changes for your application, update the RuleSet Version to secure it with a password. This prevents accidental additions of more rules to the RuleSet — additions that might inappropriately become available to unauthenticated guest users.

zzzYou may need to repeat steps 3 and 4 after your Process Commander system is upgraded or refreshed, because the upgrade process may overwrite Data-Admin-Requestor instances.

zzz Save the custom splash image as a binary file rule

The splash image is defined by the standard binary file rule named webwb.image19.gif. This images is 600 pixels wide and 400 pixels tall.

  1. Using Paint, Adobe Photoshop, or any similar workstation software of your choice, prepare a 600x400 image with colors and content of your choosing. Save the file on your workstation in the CompuServe GIF format and the name image19.gif.
  2. Sign on to Process Commander. Open the standard binary file rule named webwb.image19.gif.
  3. Use the Save As toolbar button (zzz) to make a copy of this standard rule in your new RuleSet, version 01-01-01. Don't change the name.
  4. Click  Upload File   and navigate to upload the custom image19.gif.
  5. Save the Binary File form.
  6. The rule containing the new image is now available to guest users. However, your workstation Internet Explorer cache and Process Commander's static content cache may contain the older, standard image19.gif. To clear your workstation cache, sign off from Process Commander, close any Internet Explorer windows that display the image, and choose Tools > Internet Options > General > Temporary Internet Files > Delete.
  7. To clear the static content cache, select Tools > System Management Application to start the System Management application. You may be prompted for authentication credentials.
  8. In the System Management application window, choose the current node. Then select Advanced > ETier Static Content Management.
  9. Click the  Delete Rule-File and ServiceExport   button to delete image19.gif and other binary files from the static content cache. Process Commander re-extracts them from the binary file rules as needed.
  10. Sign off and sign on again to see the updated image.

zzz Change log-in form text and layout

The standard HTML rule named @baseclass.Web-Login defines the HTML code that presents the log-in form. You can override this to change the layout, wording, fonts, and colors used in the form. This procedure requires two workstations.

  1. Open the standard HTML rule named @baseclass.Web-Login.
  2. Use the Save As toolbar button (zzz) to make a copy of this standard rule in your new RuleSet, version 01-01-01. Don't change the rule name.
  3. Alter the content of the HTML tab as desired to present the desired text, colors, and layout. Don't alter the directives, the <FORM> element, or the <INPUT> elements. Don't change the activity name referenced in the Submit button.
  4. Save the HTML form.
  5. Perform Steps 6 and 7 from a different workstation, in case the new log-in form is incorrect and prevents anyone from signing-on. Remain logged in on the first workstation.
  6. At the second workstation, clear the Internet Explorer cache (using Tools > Internet Options > General > Temporary Internet Files > Delete)
  7. At the second workstation, enter the sign on URL to see and test the new form.
  8. At the first workstation, revise the HTML rule again until you are satisfied with the new layout and appearance, always testing on the second workstation.

zzz Change authentication processing

The standard activity Code-Security.Login defines authentication for browser-based users. Rather than overriding this sophisticated standard activity, you can alter the Submit button of the HTML form to call your activity that in turn calls the standard activity.

CautionUse caution when developing and testing this processing. Design or coding errors may produce a dangerous or costly situation:

zzz Log out form

The standard HTML rule @baseclass.Web-Session-Return defines the appearance of the log out form. You can override this rule to suit local needs. The RuleSet containing your log out form must be available to guest requestors.

Definitions guest, static content
Related topics About Binary File rules
About Requestor Type data instances
How to modify log-out processing

UpUser Interface category