I currently have this in my URI field for some drilldown reports....
"reports.xhtml?report=subs/Account_Statistics&accountno="+row["ACCOUNTNO"]+"&type=HTML"+"&fromDate="+params["fromDate"].value+"&toDate="+params["toDate"].value
This works great of the html reports but the pdf and excel are ending up with links which don't work since the hostname is missing so I need something like this now...
"
https://"+params["hostname"]+"reports.xhtml?report=subs/Account_Statistics&accountno="+row["ACCOUNTNO"]+"&type=HTML"+"&fromDate="+params["fromDate"].value+"&toDate="+params["toDate"].value
on top of that, I need to somehow conditionally select the type so it would be pdf for generated pdf so clicking on a link in a pdf drills down to the next pdf and so on. Is there a way to do conditional
URI's????? If not, at the very least, a hostname would be great to start with so if someone clicked
a link from the pdf, it would go to the html drilldown version(though pdf would be even cooler).
thanks for any info on this,
Dean