Friday, June 13, 2014

Button JQuery to call Report URL - OBIEE Dashboards

Here is the sample html code to create a button in the OBIEE dashboard to call a Report URL

<div class="XUIPromptEntry minibuttonOn" align="Left">
 <a href="Report_URL">
 Go Report
 </a>
 </div>


Add the above code in dashboard object "Text" and check for "Contains HTML Markup" option
Here "Report_URL" will be your actual obiee Report url which you want to call




Dashboard output looks like below






Additional Info:

Return Link (Go Back one page)

<div class="XUIPromptEntry minibuttonOn" align="left">
<input type= "button" value = "Go Back one Page" onclick="history.back();">


Return Link (Go Back two pages)

<div class="XUIPromptEntry minibuttonOn" align="left">
<input type= "button" value = "Go Back two Pages" onclick="history.go(-2);">

Clear Button

<div class="XUIPromptEntry minibuttonOn">
<a href="#" onclick="return PersonalizationEditor.removeDefaultSelection(false)">
Clear All</a></div>

No comments:

Post a Comment