|Re: selectively disabling "export to excel" option [message #702839 is a reply to message #702611]
||Tue, 26 July 2011 17:52
| Jason Weathersby
Registered: July 2009
Look at ExportReportDialogFragment.jsp in the |
webcontent/birt/pages/dialog directory of the web viewer.
In this code you can get the report name like:
String rpt = ParameterAccessor.PARAM_REPORT;
You should be able to use this with the if statement:
if ( !ParameterAccessor.PARAM_FORMAT_HTML.equalsIgnoreCase(
supportedFormats[i] ) )
To drop the excel export option.
On 7/26/2011 11:21 AM, rigimma-467 wrote:
> I'm using BIRT 2.6.2.
> Is there a way to disable the option to export to excel, but only for
> SOME reports?
> Alternatively, passing a URL parameter indicating if export to excel
> should be enabled is also a good option.
Powered by FUDForum
. Page generated in 0.02217 seconds