Sunday, July 30, 2017

OBIEE Customizing Skins and Styles on Windows

Updating bicustom.ear file
The bicustom-template.ear file contains a bicustom.war file. Web Archive (WAR) files are also ZIP files composed of a specific folder and file structure. You must update the bicustom.war file within the bicustom-template.ear file to include your custom skin files.

Copy bicustom-template.ear 
Extract / Copy bicustom-template.ear to bicustom.ear,  bicustom-template.ear  available in below path
  • <OBI_HOME> \Oracle_BI1\bifoundation\jee\
  • Extract bicustom.ear into the same path

Update the bicustom.ear file
  • Extract the bicustom.war file from bicustom.ear file
  • Extract the files from the bicustom.war file.
  • Edit the files to create your custom styles.

Replacing Oracle logo with customized logo:
To replace the oracle logo with the customized image, first save the customized image with same precision and name it as oracle_logo.png
Replace the customized image (oracle_logo.png) in the following path.

<OBIEE_HOME>\ Oracle_BI1\bifoundation\jee\bicustom\res\s_Custom\master

To modify the background color:
To change the background color in OBIEE edit master.css file
File path: <OBIEE_HOME>\ Oracle_BI1\bifoundation\jee\bicustom\res\s_Custom\master
  • Open the master.css file.
  • Scroll down and locate the class that you want to customize.
  • In the sample code, modify the .masterBrandingArea class. Also note that the code contains inline comments to identify that code section

  • Change the HTML background color value from #000000 to #115740 to change the color from black to green color.
  • Save the file
  • Now update the bicustom.war file with your changes.
  •  To update the file archive custom folder into or bicustom.7z

  •         Then change the file extension from .7z/ .zip to .war (web archive)
  •      Similarly update the bicustom.ear file with your new bicustom.war file by using zip
          Deploying the bicustom.ear file

          Login to Oracle Weblogic Server Administration Console   

      Click Lock & Edit.
Click Deployments in the Domain structure region

Click on Deployments

Click on Install

Give the path to bicustom.ear file as below

Select the bicustom.ear file and click next

Select install this deployment as an application and click next

Select bi_cluster as a target and click next

Select I will make the deployment accessible from the following location

Click on finish
Click save and then activate changes

Now go to the deployments again and start the newly creates application 

Modify the instanceconfig.xml file UI tag under <OBIEE_HOME>\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1 as below

Save and close the file and restart the bi presentation component

Now login to analytics page and check for the new custom page

1 comment:

  1. Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here. где выгодно продать скины кс го


  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...