Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT drilldown
vidu
Hello folks
I've got a problem in displaying the BIRT DrillDown
when i do the drildown on one page that connects to the other report which i have set it to open in new window. (works fine)
But I need to get that URL bar off the display.. how can i do it guys...
can i do something in Birt ajax control editing something to hide that URL link.
?
thanks in advance
vidu
Find more posts tagged with
Comments
vidu
kind reagrds
Vidu
mwilliams
Hi vidu,
I take it you're running these reports on the deployed viewer?
mwilliams
vidu,
I was able to create a drillthrough report without using the BIRT supplied hyperlink by using the javascript window.open() function. With it you can disable the address bar. However, this doesn't seem to work with IE7, but it does work with Firefox 2. The reason I saw online that made the most sense was that Microsoft disabled the use of this feature to protect users from phishing popups and such that tried to get username and passwords. IE7 still displays the address bar, but it does disable the ability to edit right there. The user could copy and paste to another browser though.
Hope this helps.
vidu
Many thanks for the reply ,
yea finally i tried that too with popups cannot hide the url , firefox3 &IE7 both are the same,
but how did you do that in birt drill down. to use javascript window.open() without using that hyperlink.
yes i'm using the deployed viewer , basically my purpose is to hide the URL that carries the parameters,
is there a way that i can do this?
Regards
vidu
mwilliams
Vidu,<br />
<br />
What I did to make the drill-through without using the hyperlink feature was to put a text box at the top of the report, set it to HTML, and put the following html in it:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<SCRIPT language="JavaScript">
function popUp(oNumber)
{
testwindow= window.open("Report_URL¶meterName="+oNumber,"my_window","menubar=0,location=0");
}
</SCRIPT>
</pre>
<br />
Then instead of dragging the data item in from the dataSet to the table. You put a text item in the table where you want the drill-through to occur, set it to html, and put the following in it:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<a href="" onclick="oNum=<VALUE-OF>row["Column_Name"]</VALUE-OF>; oNum.toString();popUp(oNum);">
<VALUE-OF>row["Column_Name"]</VALUE-OF>
</a>
</pre>
<br />
This works to do the drill-through without using BIRT's drill-through feature, however, the same problems exist with the URL being visible in IE7 and FF3.
vidu
Hi williams many thanks , this works ...<br />
<br />
just for my understanding about this different type of BIRT deployment<br />
i'm currently using the deployed viewer (birtReport.war) then i just <br />
point my reports <br />
<a class='bbc_url' href='
http://localhost:8080/BirtViewer/frameset?__report=/rep'>http://localhost:8080/BirtViewer/frameset?__report=/rep</a>....
. <br />
<br />
this is not secure to use in a webapplication i develop ? what ways can i use to run BIRT reports ,(I'm developing a J2EE based application)<br />
<br />
can i kindly have a little of your valued time for explaining me this ?<br />
using deployedviewer now the url is visible anyone can use this URL and add the parameters and that 's not safe .. any solutions ?
vidu
hi ..williams please help me on my previous question as i 'm kind of confused also how exactly report document different from report design
Regards
vidu