Table of Contents

OBIEE 10G/11G - How to create a New Dashboard Style ?

About

How to implement this own Skin and style.

Articles Related

How to find the existing configuration?

You can check the directory skin location with a right click on a OBIEE dashboard page, select show source code and search “custom.css”.

In my dashboard, you can see below that the custom.css is located here :

<link href="analyticsRes/s_gerardnico/b_mozilla_4/custom.css" type="text/css" rel="stylesheet"></link>
<script language="javascript" src="res/b_mozilla/browserdom.js"></script>
<script language="javascript" src="res/b_mozilla/common.js"></script>
 
<script language="javascript" src="res/b_mozilla/viewhelper.js"></script>
<script language="javascript" src="res/b_mozilla/menu.js"></script>
<script language="javascript" src="res/b_mozilla/xmluiframework.js"></script>
<script language="javascript" src="res/b_mozilla/common/drillinfo.js"></script>
<script language="javascript" src="res/b_mozilla/chartview.js"></script>
<script language="javascript" src="res/b_mozilla/pivot.js"></script>

Steps to configure a custom skin

Copy an existant skin and style directory

The skin and style directory are located in this directory:

The directory begin :

Style and skin names cannot include underscores.

10G

Copy a skin and a style directory in a subdirectory named analyticsRes and rename them with this syntax:

sk_Name
s_Name

Replace Name with your own value. Style and skin names cannot include underscores. Example with gerardnico:

You must also maintain an exact copy of this directory in the directory OracleBIData_Home\web\res. When the presentation service start, OBI use this directory to load the skin/style and the pictures.

11G

To create a style:

You must also maintain an exact copy of this directory in the original directory ORACLE_HOME\bifoundation\web\app\res. When the presentation service start, OBI use this directory to load the skin/style and the pictures.

Change the default standard skin and style

The default value for skin and style is:

The below modifications have to be made in the instanceconfig.xml and the presentation service must be restarted.

10g

<ServerInstance>
.........
<DefaultStyle>gerardnico</DefaultStyle>
<DefaultSkin>gerardnico</DefaultSkin>
<URL>
	<CustomerResourceVirtualPath>analyticsRes</CustomerResourceVirtualPath>
</URL>
.........
</ServerInstance>

It specify:

In 11g

<ServerInstance>
.........
<UI>
<DefaultStyle>kpn</DefaultStyle>
<DefaultSkin>kpn</DefaultSkin>
</UI>
.........
</ServerInstance>

In the dasbhoard page

You can change the style and verify that the default value is correct.

Support

I can't see the picture but well the login form

Go back to the instance config step and add of correct the value of the xml tag <CustomerResourceVirtualPath>. If you don't have specify one, by default the value is /analyticsRes as you can see below:

<script language="javascript" src="res/b_mozilla/menu.js"></script>
<link rel="stylesheet" href="/analyticsRes/s_vgw/b_mozilla_4/portalcontent.css" type="text/css">

Remark that the javascript path doesn't use a first backslash.