Delivered in PPM 10.0.1
Below is the history of changes to this idea's status. Return to the idea.
Delivered in PPM 10.0.1
Feature implemented in PPM 10.1 (tentative release date in late February).
On top of the ability to receive reports as attachements, we've added a new special command "ksc_run_web_report", which can be used in place of ksc_run_jsp_report but offers extra features:
- REPORT_ID and USER_ID are automatically retrieved - no need to pass them as command parameters
- You can add a prefix to the rep_XXXX file name - so you can finally create report files with a helpful name. Very useful when they are attached to emails!
- You can target any PPM url now - not just JSPs. So you can create a new Servlet that returns a Powerpoint file, and your report will now be a PPTX. The report file extension is automatically detected based on the content-type returned by the JSP/Servlet.
- If for some reason the automatic file extension doesn't work, you can manually decide what file extension to use for the report file
- You can target JSP or servlets hosted in PPM Custom WARs (introduced in PPM 10). This will be very helpful if you prefer to use recent and stable versions of Apache POI library in order to generate PPTX for example, as custom WARs use distinct Jars from PPM itg.war.
- In order to ease attachment of all existing JSP reports to emails, you only need to add one parameter to the ksc_run_web_report, and the (simpe) HTML output will be automatically converted to PDF, and the report will be returned as a PDF file. This only supports very simple HTML+CSS though, so you may need to simplify the structure of generated HTML to get a proper layout. But it's always easier than having to create a PDF from scratch.
- All report submission paramters (TOKEN/Values) are passed as request parameters to the target JSP/Portlet - no need to call the rpt tag to load report submission parameters anymore.
- To demonstrate how easy this makes it to generate PowerPoint report, we created a very simple servlet on the sample PPM Custom WAR that returns a PPTX file - point ksc_run_web_report at this Servlet, and you'll get a PowerPoint file.
No note was provided with this status update.