Wednesday, May 20, 2015

Changing Welcome Logo and Welcome Message for Maximo



While working on multiple Maximo environments, it's very important to be careful which instance you are working on else you may make some changes on your Production Environment instead of doing it on Test/Dev.

First and foremost Security is obviously the different Passwords but just to give an UI feel, you can do the following for changing the Logo on Maximo Screens, Welcome Messages and such other stuff.

Let's take a look at the original Maximo Login Screen:

 

  Now, how does it look after Changes:


 We will cover the following in this article:

  1. Changing Logo on Maximo Login Page

  2. Changing Logo on Navigation Pages in Maximo

  3. Changing Logo on Session Time Out Page

  4. Changing 'Welcome to Maximo' Message on Login Screen

1. Changing Logo on Maximo Login Page

  • Go to following path \ibm\SMP\maximo\applications\maximo\maximouiweb\webmodule\webclient\login
  • Open login.jsp file
  • Search for ibm-logo-white.gif image name and replace it with New Image Logo name as new-logo-white.gif
  • Search for tivoli_brandmark.png image name and replace it with New Image Logo name as new_tivoli_brandmark.png
  • Search for mx_icon.png image name and replace it with New Image Logo name as new_mx_icon.png
  • Save login.jsp file
  • Click on Images folder under \ibm\SMP\maximo\applications\maximo\maximouiweb\webmodule\webclient\login
  • Paste new images ‘new_tivoli_brandmark.png’ and ‘mx_icon.png’ in Images folder of Login folder
  • Rebuild maximo.ear file and deploy in your J2EE (Application Server)
P.S.
1) Instead of changing the file names in login.jsp file, you can also just replace the Original Images with New Images (with the same name) in Images folder.
2) Size adjustment is a big challenge here, you may need to do this activity multiple times
3) Always have a backup of Logos and .JSP files before making a change


2. Changing Logo on Maximo Navigation Page

  • Go to following path \SMP\maximo\applications\maximo\maximouiweb\webmodule\webclient\skins\tivoli09
  • Click on Images folder, paste new logo image here named as new_ibm-logo-white.gif
  • Click on css folder, open maximo.css file in a text editor
  • Search for titlelogo section having ibm_logo_white.gif image name and replace it with new image name as new_ibm-logo-white.gif
  • Rebuild maximo.ear file and deploy in your J2EE (Application Server)

3. Changing Logo on Session Time Out Page


Go to following path \ibm\SMP\maximo\applications\maximo\maximouiweb\webmodule\webclient\login
Open exit.jsp file, search for image ibm-logo-white.gif and replace name with new image name as new_ibm-logo-white.gif
Rebuild maximo.ear file and deploy in your J2EE (Application Server)

4. Changing 'Welcome to Maximo’ message on Login Page

          This can be achieved in 2 ways:

4.1. From Maximo Application Front End

  • Log into Maximo – Go To – System Configuration – Platform Configuration - Database Configuration – Message – filter on Message Key for 'welcomemaximomessage'
  • Update the Value from Welcome to Maximo to desired message
  • Sign Out and see the changes on the Maximo Login Screen

4.1. From Maximo Application Front End

  • Execute the following SQL Scripts in your database:
 
UPDATE MAXMESSAGES SET VALUE='Welcome to knowMaximo' WHERE MSGKEY='welcome';

UPDATE MAXMESSAGES SET VALUE='Welcome to knowMaximo, {0}' WHERE MSGKEY='welcomeusername';

UPDATE MAXMESSAGES SET VALUE='Welcome to knowMaximo' WHERE MSGKEY='welcomemaximomessage';

UPDATE L_MAXMESSAGES SET VALUE='Welcome to knowMaximo' WHERE OWNERID=(SELECT MAXMESSAGESID FROM MAXMESSAGES WHERE MSGKEY='welcome');

UPDATE L_MAXMESSAGES SET VALUE='Welcome to knowMaximo, {0}' WHERE OWNERID=(SELECT MAXMESSAGESID FROM MAXMESSAGES WHERE MSGKEY='welcomeusername');

UPDATE L_MAXMESSAGES SET VALUE='Welcome to knowMaximo' WHERE OWNERID=(SELECT MAXMESSAGESID FROM MAXMESSAGES WHERE MSGKEY='welcomemaximomessage');


  • Since this is a Database Update, no Build & Deploy is required, just Sign Out and see the changes on the Maximo Login Screen

2 comments:

  1. When I make changes to the maxmessages via db script, the login page text doesn't change. Only when I update from the front end. Any ideas on what the issue is here?

    Maximo 7.6.0.6 on Weblogic here

    ReplyDelete
    Replies
    1. Figured it out… Surprisingly I found nothing about this while googling, that you had to do this if you use a script to update maxmessages.

      After you update the maxmessages table you have to trigger the servers to reload the maxmessagecache. You can do this from a db script by updating the value of serversession.reloadcache for all servers to “MAXMESSAGECACHE”. The servers then update their message cache and the value of reloadcache returns to null.

      I guess I should say that we are on Weblogic, Maximo 7.6.0.6 so maybe this is not needed for a system on Websphere?

      --------------
      update MAXMESSAGES set VALUE='This is the new text I want on the login screen'
      where MSGKEY= 'welcomemaximomessage';
      update serversession set reloadcache='MAXMESSAGECACHE';
      commit;

      Delete