Shahed Munir from http://deliverbi.blogspot.com/ wrote a great post on 9 January 2013 named "OBIEE 11g Dashboard Background Image or Watermark".
Here are few examples of the same dashboard page with few background:
Original:
With background:
As Shahed says, all you have to do is add a text object anywhere in the dashboard page and set the text to be of the format:
<script type="text/javascript">var obj = document.getElementById('DashboardPageContentDiv');obj.style.background = "url('/analyticsRes/abstract.jpg') white center no-repeat fixed"</script>
If you have a small picture (like I had in the first 2 examples) you can change the "no-repeat" to "repeat", in that case you don't need the "white", "center" and "fixed".
<script type="text/javascript">var obj = document.getElementById('DashboardPageContentDiv');obj.style.background = "url('/analyticsRes/abstract.jpg') repeat"</script>
Where /analyticsRes/abstract.jpg is the image file you use.
Putting the image file at "$MW_HOME\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes" is a very nice touch, but of course you can have them anywhere you like... At the fmap location like described here or even from the internet.
For example my son is currently playing "Mario Galaxy" whenever he can.
So I could easily take this dashboard page:
Find a picture on the net, and change it to the following:
Of course it's a User Interface disaster, but the little customer is happy.
P.S.
Just remember, as usual in these cases, when it comes to printing, the HTML print file maintains the background, while the PDF doesn't.
Here are few examples of the same dashboard page with few background:
Original:
With background:
As Shahed says, all you have to do is add a text object anywhere in the dashboard page and set the text to be of the format:
<script type="text/javascript">var obj = document.getElementById('DashboardPageContentDiv');obj.style.background = "url('/analyticsRes/abstract.jpg') white center no-repeat fixed"</script>
If you have a small picture (like I had in the first 2 examples) you can change the "no-repeat" to "repeat", in that case you don't need the "white", "center" and "fixed".
<script type="text/javascript">var obj = document.getElementById('DashboardPageContentDiv');obj.style.background = "url('/analyticsRes/abstract.jpg') repeat"</script>
Where /analyticsRes/abstract.jpg is the image file you use.
Putting the image file at "$MW_HOME\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes" is a very nice touch, but of course you can have them anywhere you like... At the fmap location like described here or even from the internet.
For example my son is currently playing "Mario Galaxy" whenever he can.
So I could easily take this dashboard page:
Find a picture on the net, and change it to the following:
Of course it's a User Interface disaster, but the little customer is happy.
P.S.
Just remember, as usual in these cases, when it comes to printing, the HTML print file maintains the background, while the PDF doesn't.
Thank you for your very nice article, do not forget to read my articles also
ReplyDelete► Jasa Fotocopy Murah
► Jasa Print Warna Murah
► Jasa Cetak ID CARD Murah
are deliberately presented to the loyal readers.