Atlassian JIRA   History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: XRP-68
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Reporter: Bill Bruyn
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
xReporter

Single pass requests for parameterized reports with a particular output format

Created: 02/May/05 05:19 PM   Updated: 20/Sep/07 10:16 AM
Component/s: xReporter-Cocoon
Affects Version/s: None
Fix Version/s: 1.3

Issue Links:
Incorporates
 
This issue is part of:
XRP-75 Plugable custom formats for reports Minor Resolved


 Description   
A few people have asked for this sort of thing.

I think the idea here is that instead of always rendering HTML by default and requiring a second request to transofmr to another format, I should be able to select the desired format before the first transform.

I hope someone will jump in (Tim Larson?) and provide a better use case.

 All   Comments   Change History      Sort Order:
Comment by Bill Bruyn [06/May/05 06:55 PM]
Earmarking for 1.3.0

Comment by Kristof Van Cleemput [26/Jul/07 06:48 AM]
Possibility to turn chunking of per report.
If you make a custom xslt you only get the first chunk of data but sometimes you want all the data

Comment by Bruno Dumon [20/Sep/07 10:16 AM]
SVN rev 750

You can now directly link to a specific format by adding an xrpfmtpref request parameter to the persistent URL. If more parameters need to be added to the output URL, prefix them with "xrpfmtpref_"

The value of the xrpfmtpref parameter follows the following syntax:

<format-dir>-<format-file>-<extension>

The meaning of the "format-dir" and "format-file" is explained in the report format documentation.

Examples
=======

To directly link to the PDF, add the following to the persistent URL:

&xrpfmtpref=xrp-pdf-pdf

CSV with some preferences:

&xrpfmtpref=xrp-csv-txt&xrpfmtpref_splitCharacter=pipe&xrpfmtpref_encoding=UTF-8

A dynamic chart:

&xrpfmtpref=xrp-dynchart-png&xrpfmtpref_type=bar&xrpfmtpref_extension=png

A custom defined chart in dir "charts" and file "chart1.xml":

&xrpfmtpref=charts-chart1-png


Other requested things, unrelated to the persistent URL:
=========================================

Setting the default format to be displayed for a report is possible in the format index file.

Turning of chunking (or configuring the chunk size) is possible in report format file.