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)
How to configure BIRT viewer
Abdel
Hi all,
When my BIRT viewer display the report, I don't need TOC,export to CSV etc to be displayed.. But i need export to excel enabled and pagination enabled. Hoe do i do this? Is it possible to have only excel export and remove all other export options?
I tried commenting values in viewer.properties file and no luck. Please help
Thanks in advance,
Abdel Olakara
Find more posts tagged with
Comments
jordi
I'v done something similar modifying the report viewer application. I've created my own FormatConstants like
public class FormatConstants {
public static final String PDF_RENDER_FORMAT = HTMLRenderOption.OUTPUT_FORMAT_PDF;
public static final String DOC_RENDER_FORMAT = "doc"; //$NON-NLS-1$
public static final String EXCEL_RENDER_FORMAT = "xls"; //$NON-NLS-1$
public static String[] supportedFormats = { IBirtConstants.PDF_RENDER_FORMAT,
IBirtConstants.DOC_RENDER_FORMAT,
IBirtConstants.EXCEL_RENDER_FORMAT,
};
}
Then use this class in ExportReportDialogFragment.jsp instead of default ReportConstants.
I've simply commented the html code I don't need in ToolbarFragment.jsp to hide TOC and other options.
Abdel
Hi jordi,
Cool Idea!!! Thanks for the solution.. I have implemented the same :-)
Regards,
Abdel Olakara