jueves, 17 de febrero de 2011

Render a Prpt report correctly in a Pentaho's BI Platform xaction

Hi, a quick hint about writing a Xaction who must render a Prpr Report. If you try to use the xaction writing plugin for Eclipse, the xaction probably wont work. Here is the correct xaction, and you should overwrite the xaction with this in Eclipse (changing the prpt name of course):

<?xml version="1.0" encoding="UTF-8"?>
  <title>Test report in PDF format</title>
    <author>Emmanuel Guiton</author> 
    <description>Generates a PDF test report.</description> 
    <test_report type="content">
      <action-type>Test report</action-type>
        <report-definition type="resource"/>
        <outputstream type="content" mapping="test_report"/>


Hope this help.

3 comentarios:

Pradesh dijo...

Thank you Andres.

Can you explain why the xaction creator does not work and yours does?


Andrés Chaves dijo...

Hi Pradesh, well as I believe it was you who tell me how to fix that I think you'd explain that better....anyway I was looking the XML of the creator:


And mine:


I think that line is the key.



Tim dijo...

Is there a Jira issue created for this PDF outputType from xaction? I have the same problem. Your solution is not working for me.