Hitachi Vantara Pentaho Community Forums
Results 1 to 1 of 1

Thread: Can I use a report parameter template to modify the report definition location?

  1. #1
    Join Date
    Aug 2007
    Posts
    7

    Lightbulb Can I use a report parameter template to modify the report definition location?

    I have a report parameter (html) that retrieves start and end timestamps for a report - I would like to also allow the user to select a level of detail. In this way I can offer info on say, Type, Type and Make, Type Make and Model, or full detail to the individual item. I can dynamically modify the SQL query to properly group my data, and have created the report definition XML templates, but don't know if it's possible to use one xaction and one parameter template.

    Any thoughts on how to do this?

    [edit] Perhaps to make the question a bit clearer...

    Can I have an input in the xaction that can request and change the location tag below:
    Code:
      <resources> 
        <!-- use this section to identify any files that the component needs to execute the report -->  
        <report-definition> 
                   <solution-file> 
                         <location>ReportDefinition.xml</location>  
                         <mime-type>text/xml</mime-type> 
                   </solution-file> 
             </report-definition> 
      </resources>
    So based upon some selection in the parameter template, I can dynamically set the definition template?

    Thanks!
    Last edited by bsingleton; 08-04-2007 at 10:42 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.