Friday, June 21, 2013

OBIEE 11g - Adding Custom URLs to the Dashboard

Adding some static URLs like Oracle Home page and Google to the other set of URLs. 


The steps are listed below


1.   Go to {Oracle_Home}\web\msgdb\messages file commonuitemplates.xml 

2.   Search for the web message kuiMainBarActionsTable and add the below listed lines immediately after the tr tag.

      <td class=”DashBarProductCell”><a href=”http://oracle.com” target=”_blank”>Oracle Home</a></td>
<td class=”@{classPrefix}Sep”>-</td>
<td class=”DashBarProductCell”><a href=”http://google.com” target=”_blank”>Google</a></td>
<td class=”@{classPrefix}Sep”>-</td>




      
So, what this does is it adds 2 new URLs to the existing layout. But remember this will affect the UI for all the users.

3.   Save the file and restart presentation services. Now, you should have these 2 new links added to the dashboard.

      
This can be useful if you dont have any other option but to add the links for all the users.


For Email-


In step 2, you can add the below HTML immediately after the <tr> tag.
<td class="@{classPrefix}ActionCell"><a href="mailto:groupname@mycompany.com" target="_blank">Mail Link</a></td><td class="@{classPrefix}Sep">-</td>