Friday, May 10, 2013

OIM 11g R2 PS1: OIM Logo Customization With custom Height and Width

OIM default logo size is 119px X 40px (Width X height). If you change logo with height more than 40px height it won't fit into screen.

To make it fit we need to change jspx file located in OIM ear. In this I am taking image of size 119px X 58px (Width X Height).

1) Login to identity Console 


2) Click on Sandbox to create new sandbox


3) Click on Create Sandbox


4) Provide suitable name for sandbox and click save and close


5) click on customize at right top corner


6) Click on View and select Source


7) Select Oracle logo using mouse and click edit.


8) Below is my sample logo :P (119px X 58px) which I want to replace with Oracle logo

9) Provide details as shown below.


10) click close and it will get saved.


11) Publish Sandbox, these steps are enough if you are doing normal size image (119px X 40px) but for other size image follow remaining steps.


12) Go to below path in server and Take back up of ear. (oracle.iam.console.identity.self-service.ear) 


13)  Extract /Navigate to \oracle\iam\ui\main as shown below and changes need to be done in 3 files firstlogin.jspx, signin.jspx and identity.jspx


14) Change following line value from 30 to 64. 

instead of value="30" and save 3 files and make it as ear and replace with old ear. 


15) Restart servers and check your logo :D



Thanks !!! 

Other Posts