Andreas Nobbmann

writing about Oracle Business Intelligence, Hyperion, IBM DB2, IBM Data Warehouse Edition and hopefully more

Get your stuff printed

Not a big deal for the HTML-guys among you, but for me something new. Here is a little feature to be included in a text section of your dashboard, which helps to make printing one click less. And sometimes can be the more appropriate way of printing. I just did it in combination with GoURL and used the HTML-View of the report (where the URL could for example look like this http://obiee_se:9704/analytics/saw.dll?Go&Path=/shared/Blogs/Get%20your%20stuff%20printed&Options=rmf&format=html) in order to avoid that the HTML-tags for my columns - lying in the external names table - are displayed on the report.

What the code described below does is it simply opens the print dialogue right after the report opened up. This is a fast way to get what you want on paper, isn't it ?

Have a look yourself if you like it or not.

<script language="javascript">
            window.print();
</script>

image

Add this simple javascript to your report and every time you open this report you will be automatically asked to select the printer you want to print your report on. Alternatively you can add a link to the report and name it for example "Print this report".

image 

The described solution is really good for everyone using intensively HTML formatting in their column-names (means in the external table). If you want to know more about Multilanguage support you can read something about here.

Have fun and so long,
Andreas

Kommentare

Keine Kommentare

Kommentar abgeben

(verpflichtend) 

(verpflichtend) 

(optional)

(verpflichtend)