OBIEE Print Dashboard Page PDF without Prompts

By default, OBIEE does not allow you to print PDF without the prompts. The best workaround is to create a custom button using javascript which points to a hidden dashboard page made for printing. Then we can disable the print button in the dashboard and just use the custom javascript button for printing.

Steps Below

To do this, first duplicate the dashboard page you want to print.

Then remove the prompt and hide it.

So for example, you want to print a dashboard page called “Total Markets”. Duplicate this page and rename to “Total Markets Print”. We can now remove the prompt from the page and hide the dashboard.

SetupPrint

In the “Total Markets” page, make sure you set the prompt so that the scope is Dashboard instead of Page.

Setup

Add a text to the dashboard with HTML markup checked.

<script type="text/javascript">
function DashboardPrint(){
PortalPrint('/shared/_portal/PrintDemo', 'Total Markets Print', true, 'pdf');
}
</script>
<button class="PDFButton" onclick="DashboardPrint()">PDF</button>
<style>
.PDFButton{
top:90px;
 background-color:#79bbff;
 -moz-border-radius:28px;
 -webkit-border-radius:28px;
 border-radius:28px;
 border:1px solid #84bbf3;
 cursor:pointer;
 color:#ffffff;
 font-family:Arial;
 font-size:14px;
 padding:6px 20px;
 text-decoration:none;
 text-shadow:0px 1px 0px #528ecc;
}
.PDFButton:hover {
 background-color:#378de5;
}
.PDFButton:active {
 position:left;
 top:8px;
}
</style>

Finally, disable the default PDF print button dashboard in dashboard properties.

Results should look similar to this:

Final Look

Now you are ready for printing.

When you click the PDF button, it would not contain any prompts like below.

PrintOut

Advertisements

Author: Steve Yeung

Being in the EPM & BI field for more than 8 years, it's about time I contribute to newcomers! As a founder of MondayBI.com I wish to give you all the help I can. Feel free to give any suggestions or questions. Hope you will all enjoy this blog! William Wong Essbase Certified Specialist OBIEE Certified Specialist

4 thoughts on “OBIEE Print Dashboard Page PDF without Prompts”

    1. i was getting the same error message.
      change the report path from PortalPrint(‘/shared/_portal/PrintDemo’, ‘Total Markets Print’, true, ‘pdf’) to the path of your report
      should work

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s