RM BIForum12 Cust2
RM BIForum12 Cust2
Enhance/Change Functionality
Customizations Approach
Demo
Appendix
Technical Pre-requisites
Styles and Skins with OBIEE 11g
Deployment Steps
Create new Custom
Directory
Deploy Directory in
Weblogic EM
Configure
Application Server
Steps
Steps
Steps
Install as application
Open instanceconfig.xml
Specify deployment
directory
Start servicing all requests
Create customMessages
sub directory
ResoucePhysicalPath
ResourceVirtualPath
DefaultStyle
DefaultSkin
Configure Web
Server
Steps
Open mod_wl_ohs.conf
Add the following
configuration entries:
SetHandler
WebLogicHost
WebLogicPort
DynamicServerList
KeepAliveEnabled
Debug
WLLogFile
Customizations Approach
Customizations Approach
Customization Locations
Server side vs. Client Side
Cascading
Style Sheet
Color
Font
Hide/Display
Style
Images
XML
Hover Text
Alt Text
Messaging
Tab Titles
Browser Title
Client Side
Javascript
HTML
Functions
Action Objects
Menus
Display
Functions
Action Objects
Images
Messaging
11
Location ConsiderationsFunctional
HTML
Examples:
HTML Text Boxes
Javascript Text Boxes
Cascading Style
Sheet
Examples:
CSS file edits
XML
Examples:
Client Side
Javascript
Examples:
New functions
Edited functions
Server Side
12
Location ConsiderationsCode
HTML
Examples:
GetElementByID
myElement.innerHTML=
Mytext
Cascading Style
Sheet
Examples:
display=none;
Bgcolor=white
XML
Examples:
<expr="false" />
kmsg=my messaging
Client Side
Javascript
Examples:
myfunction=
onclick(myaction);
Server Side
13
Customizations Categories
15
16
Reduce the need to put multiple links throughout the system to route the user to a
specific location (such as home)
Demonstration Steps
Create Link
Text
Globally
Register Link
with OBIEE
Enable link
to be turned
on/off
Build link
components
Build Link
Action
17
After (Code)
saw.header.NavBar.prototype.onHome=function
saw.header.NavBar.prototype.onHome=function
(b,a)
(){window.location.href="http://www.mywebsite.com"}
{saw.header.openURL(saw.commandToURL("bieehome"),
a)}
Before (Screenshot)
After (Screenshot)
18
After (Code)
Before (Screenshot)
After (Screenshot)
19
biee0088.html
Before (Code)
After (Code)
/Oracle_BI1/bifoundation/web/app/old/l_en/biee0088.htm
/Oracle_BI1/bifoundation/web/app/old/l_en/biee0088.htm
* With custom html inside the file.
Before (Screenshot)
After (Screenshot)
20
var c=document.getElementById("DashboardPageOptions");
if(c)
{d=obidash.getResourceString(obidash.seedResourceFile,"kmsgDashboardPageOptionsMenu");
var o=obidash.getResourceURL(obidash.seedResourceFile,"popupmenu_ena");
var a=obidash.getResourceURL(obidash.seedResourceFile,"popupmenu_dis");
var n=obidash.getResourceURL(obidash.seedResourceFile,"popupmenu_ovr");
var b=obidash.getResourceURL(obidash.seedResourceFile,"popupmenu_dwn");
r=new obips.Toolbar.ButtonIconSet(o,a,n,b);
p=new obips.DataType.FunctionalIcon(r,d,new obips.Callback(null,function(s)
{obidash.openMenu(s,"idPersonalizationMenu")}),"idPersonalizationMenuIconButton");c.appendChild(p.getViewer())}
Before (Screenshot)
After (Screenshot)
21
Reporting
Notable Customizations
22
Reporting
Spotlight Demonstration
Customization Goals
After
Global
Locate download
type entry
Locate download
type entry
Confirm current
session user
Based on session
user, show/hide option
via identifier
23
Reporting
Highlights
Modify the report No Results messaging
viewmessages.xml
Before (Code)
After (Code)
<WebMessage
name="kmsgEVCNoRowsFilters"><HTML>The specified
criteria didn't result in any data. This is often caused
by applying filters and/or selections that are too
restrictive or that contain incorrect values. Please check
your Analysis Filters and try again. The filters currently
being applied are shown below.
<span style="font-size: 4pt;"><br/><br/></span><sawm:param
insert="1"/></HTML></WebMessage>
<WebMessage
name="kmsgEVCNoRowsFilters"><HTML>This is a custom
error message. Any no results messaging can be inserted
here.
<span style="font-size: 4pt;"><br/><br/></span><sawm:param
insert="1"/></HTML></WebMessage>
Before (Screenshot)
After (Screenshot)
24
Reporting
Highlights
Modify the Browser Tab Name
productmessages.xml
Before (Code)
After (Code)
<WebMessage name="kmsgProductPortal"><TEXT>Oracle
BI Interactive Dashboards</TEXT></WebMessage>
<WebMessage name="kmsgProductPortal"><TEXT>My
Custom Tab Messaging</TEXT></WebMessage>
Before (Screenshot)
After (Screenshot)
25
Reporting
Highlights
Create Action Framework Image Links
dashboardtemplates.xml
Before (Code)
After (Code)
a name="SectionElements"
href="<sawm:param name="dest"/>
a name="SectionElements"
id="Custom_ID"
href="<sawm:param name="dest"/>
SectionElements"
href="javascript:void()"
SectionElements"
id="Custom_ID"
href="javascript:void()"
---------------------------------------------------------------------------------------------------Client Side Code
<script>
function getElement()
{
var element = document.getElementById("Custom_ID");
var myImage = '<img src="[CUSTOM_DIRECTORY]/my_image.png" />'
element.innerHTML = myImage;
}
getElement();
</script>
Before (Screenshot)
After (Screenshot)
26
Reporting
Highlights
Replace preparing guided navigation text with the waiting clock
dashboardtemplates.xml, portalcontent.css, portalsysmessages.xml
Before (Code)
After (Code)
dashboardtemplates.xml
<sawm:param name="viewID"/>NavSearch">
dashboardtemplates.xml
<sawm:param name="viewID"/>NavSearch">
<img class ="SrchImg" src="/StateOfMass/s_StateOfMass1/views/
searching.gif" border="0"/>
</div><div id="<sawm:param name="viewID"/>
<sawm:messageRef name="kmsgDashboardPrepareGuided"/>
</div><div id="<sawm:param name="viewID"/>
-------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------------portalcontent.css
portalcontent.css
.PortalPreparingGuided{background-color:#CCCCCC;margin:
.PortalPreparingGuided{background-color:#FFFFFF;margin:4px 0 0 4px;padding-left:
4px 0 0 4px;padding-left:15px;}
15px;}
</div><div id="<sawm:param name="viewID"/>
<sawm:messageRef name="kmsgDashboardPrepareGuided"/>
</div><div id="<sawm:param name="viewID"/>
--------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
portalsysmessages.xml
Portalsysmessages.xml
<WebMessage name="kmsgDashboardPrepareGuided">
<WebMessage name="kmsgDashboardPrepareGuided">
<HTML></HTML></WebMessage>
<HTML>Searching</HTML></WebMessage>
Before (Screenshot)
After (Screenshot)
27
28
Enhance the user experience for the visually impaired due to larger buttons
Based on the
unique ID, show
or hide the
prompt section
After (Code)
Before (Screenshot)
After (Screenshot)
31
After (Code)
<WebMessage name="kmsgDashboardMaximize">
<TEXT>Expand</TEXT>
</WebMessage>^M
<WebMessage name="kmsgDashboardMinimize">
<TEXT>Collapse</TEXT>
</WebMessage>^M
<WebMessage name="kmsgDashboardMaximize">
<TEXT>Custom Expand Message</TEXT>
</WebMessage>^M
<WebMessage name="kmsgDashboardMinimize">
<TEXT>Custom Collapse Message</TEXT>
</WebMessage>^M
Before (Screenshot)
After (Screenshot)
30
Demo
Appendix
File Name
File Path
header.js
[ORACLE_HOME]/bifoundation/web/app/res/b_mozilla/
[ORACLE_HOME]/bifoundation_domain/servers/bi_server1/tmp/
_WL_user/analytics_11.1.1/[TEMP_DIRECTORY]/war/res/
b_mozilla/
saw.sessioninfos.xml
[ORACLE_HOME]/bifoundation/web/msgdb/common
biee0088.htm
[ORACLE_HOME]/bifoundation/web/app/olh/l_en
portalscript.js
[ORACLE_HOME]/bifoundation/web/app/res/b_mozilla/
dashboards
[ORACLE_HOME]/bifoundation_domain/servers/bi_server1/tmp/
_WL_user/analytics_11.1.1/[TEMP_DIRECTORY]/war/res/
b_mozilla/dashboards
viewmessages.xml
[ORACLE_HOME]/bifoundation/web/msgdb/messages
productmessages.xml
[ORACLE_HOME]/bifoundation/web/msgdb/messages
dashboardtemplates.xml
[ORACLE_HOME]/bifoundation/web/msgdb/messages
[CUSTOM_DIRECTORY]/customMessages/l_en/messages/
[ORACLE_HOME]/bifoundation/web/msgdb/messages
logoncontrolmessages.xml
File Name
File Path
dashboardtemplates.xml
[ORACLE_HOME]/bifoundation/web/msgdb/messages
dashboardtemplates.xml
[CUSTOM_DIRECTORY]/customMessages/l_en/messages
portalcontent.css
[CUSTOM_DIRECTORY]/s_[CUSTOM_SKIN]/b_mozilla_4
portalcontent.css
[CUSTOM_DIRECTORY]/s_[CUSTOM_SKIN]/b_mozilla_4/rtl
portalcontent.css
[ORACLE_HOME]/bifoundation_domain/servers/bi_server1/tmp/_WL_user/
analytics_11.1.1/[TEMP_DIRECTORY]/war/res/s_blafp/b_mozilla_4
portalcontent.css
[ORACLE_HOME]/bifoundation_domain/servers/bi_server1/tmp/_WL_user/
analytics_11.1.1/[TEMP_DIRECTORY]/war/res/s_blafp/b_mozilla_4/rtl
portalsysmessages.xml
[ORACLE_HOME]/customMessages/l_en/messages
Spotlight Demonstration #1
[HOME]\Oracle_BI1\bifoundation\web\msgdb\l_en\messages\uicmsgs\saw.header.xml
[HOME]\Oracle_BI1\bifoundation\web\msgdb\common\saw.header.xml
[HOME]\Oracle_BI1\bifoundation\web\msgdb\common\saw.sessioninfos.xml
Spotlight Demonstration #1
[HOME]\Oracle_BI1\bifoundation\web\app\res\b_mozilla\header.js
Spotlight Demonstration #2
[HOME]\Oracle_BI1\bifoundation\web\msgdb\messages\viewscontrolmessages.xml
Spotlight Demonstration #3
[HOME]\Oracle_BI1\bifoundation\web\app\res\b_mozilla\prompts\promptsruntime.js