Friday, June 12, 2020

Custom OBIEE Home Page

let us see how following OBIEE custom home page can be created for end users one-click access.




Here is the underlying code.

Header - Welcome learning catalog.
Import banner.png to shared/images catalog folder.
Now create a dashboard.
Add a Text component and place following code.

<img src="/analytics/saw.dll?downloadFile&Path=%2fshared%2fimages%2fbanner.png" width=1200 height=150/>


Section – One Click Dashboards

Add another Text object show some section with image
<html>
<head>
<style>
.p1 {
  text-shadow: .3px .3x .6px #B9C53A;
    font-size: 20px;
    color: #FFFFF;
}
</style>
</head>
<BODY>
    <table cellspacing="0" cellpadding="3%" width = 450>
        <TR>
            <TD align="left" >
               <img  alt="" src="saw.dll?downloadFile&amp;Path=%2fshared%2fimages%2fSection1.png" width=80 border="0" /> 
            </TD>
            <TD align="left" valign="middle" halign="left">
              <P class="p1" > One Click – Dashboards </font> </br> </P>
            </TD>        
        </TR>  
    </table> 
</body>
</html>

Report – Here you go

Create OBIEE report with Static Text view to point dashboard links

<html>
<head>
<style>
.card1 {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 270px;
background-color: #f5f5f5;
text-align: left;
border-radius: 25px;
  border: 2px solid #f5f5f5;
}
.card1:hover {
     box-shadow:  0px 3px 4px 0 rgba(255,153,51,1), 0 10px 10px 0 #B9C53A, 2px 0px 10px 4px #245688;
background-color: #f5f5f5;
}
.container {
    padding: 2px 16px;
}
.ul1 {  padding-left: 15px; color: #53565a;
}
</style>
</head>
<body>
<div class="card1">
  <div class="container">
  <h3>Here you go<hr></h3>
<ul class="ul1">
<li>
<p> 
<a name="SectionElements" href="javascript:void()" actionxml="<saw:action xmlns:saw=&quot;com.siebel.analytics.web/report/v1.1&quot; 
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;><saw:parameters allowExtraParameters=&quot;true&quot;>
<saw:parameter name=&quot;__navigateToBIContent__&quot; type=&quot;string&quot; mandatory=&quot;true&quot; removable=&quot;true&quot; 
order=&quot;999&quot; multiValues=&quot;false&quot;><saw:prompt>__navigateToBIContent__</saw:prompt><saw:description/></saw:parameter>
</saw:parameters><saw:assignments><saw:assign name=&quot;__navigateToBIContent__&quot; fixed=&quot;true&quot; hidden=&quot;true&quot; 
parentFixed=&quot;false&quot; parentHidden=&quot;false&quot; xsi:type=&quot;saw:stringAssign&quot;>
<saw:value>/shared/_portal/Dashboard 1</saw:value></saw:assign></saw:assignments>
<saw:implementation xsi:type=&quot;saw:ScriptActionType&quot; executeOnClient=&quot;true&quot;>
<saw:functionName>__navigateToBIContent__</saw:functionName><saw:scriptLanguage>JScript</saw:scriptLanguage><saw:scriptPath/>
</saw:implementation><saw:clientImplementation><saw:customisation invokeConfirmation=&quot;false&quot; openNewWindow=&quot;false&quot;/>
</saw:clientImplementation></saw:action>" parammapping="" dashstyle="Alta" inframeset="false" menuoptions="" onclick="obidash.executeAction(this); 
return false;"><font color="#53565a";>Dashboard 1</a><font>
</p>
</li>
<li>
<p> 
<a name="SectionElements" href="javascript:void()" actionxml="<saw:action xmlns:saw=&quot;com.siebel.analytics.web/report/v1.1&quot; 
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;><saw:parameters allowExtraParameters=&quot;true&quot;>
<saw:parameter name=&quot;__navigateToBIContent__&quot; type=&quot;string&quot; mandatory=&quot;true&quot; removable=&quot;true&quot; 
order=&quot;999&quot; multiValues=&quot;false&quot;><saw:prompt>__navigateToBIContent__</saw:prompt><saw:description/></saw:parameter>
</saw:parameters><saw:assignments><saw:assign name=&quot;__navigateToBIContent__&quot; fixed=&quot;true&quot; hidden=&quot;true&quot; 
parentFixed=&quot;false&quot; parentHidden=&quot;false&quot; xsi:type=&quot;saw:stringAssign&quot;>
<saw:value>/shared/_portal/Dashboard 2</saw:value></saw:assign></saw:assignments>
<saw:implementation xsi:type=&quot;saw:ScriptActionType&quot; executeOnClient=&quot;true&quot;>
<saw:functionName>__navigateToBIContent__</saw:functionName><saw:scriptLanguage>JScript</saw:scriptLanguage><saw:scriptPath/>
</saw:implementation><saw:clientImplementation><saw:customisation invokeConfirmation=&quot;false&quot; openNewWindow=&quot;false&quot;/>
</saw:clientImplementation></saw:action>" parammapping="" dashstyle="Alta" inframeset="false" menuoptions="" onclick="obidash.executeAction(this); 
return false;"><font color="#53565a";>Dashboard 2</a><font>
</p>
</li> </ul>
   </div>
</div>
</body>
</html>





No comments:

Post a Comment