Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
WaterMark
Vineet Joshi
Hi All
I have a report whose watermark changes as per the value coming from database .
ie if Country is France it will have a Watermark showing France in the background,
and if Country is USA it will Show Watermark showing USA .
so the watermark should change according to the value from database.
anybody pls tell me how to do this in birt 2.3.2.
Thanks
Jack
Find more posts tagged with
Comments
Tubal
Have you seen this? <br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1292-watermark-examples/'>http://www.birt-exchange.org/org/devshare/designing-birt-reports/1292-watermark-examples/</a><br
/>
<br />
Depending on how you are exporting your report, this should work.<br />
<br />
If you need it to be in an exported pdf, like mentioned in the post, you could create a 1 cell grid, bind it to your dataset, then set the background image in the onRender script. Then put everything in your report inside the cell.<br />
<br />
Something along the lines of:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>if(row["country"]=='FRANCE')
{
this.getStyle().backgroundImage = "france.png";
}
else if(.....</pre>
(untested)
Vineet Joshi
Hi Tubal
Thanks for the reply ....
but, the method suggested by you doesn't work ..
Can you pls attach a sample ...
Thanks
Yogesh Maharwade
Hi Jack
Take a look at attached rptdesign,it works according to your criteria
Vineet Joshi
hey Piwya
Thanks for the reply ,but this is not what i was looking for .....
i was talking about watermark .....which should change as per the database value...
Thanks anyways......
Vineet Joshi
Hi
Anybody pls help me with the issue
regards
Yogesh Maharwade
Hi jack,
Did you get the solution for this issue. I m also getting same issue.
Please help..
Thanks