Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Export report with dynamic filename

  1. #1

    Default Export report with dynamic filename

    Hi folks, I'm exporting a report with the follow url:
    There is any way to change the filename dynamically, I need the format ClientReport-YYYYMMDD.xls (ClientReport-20140601.xls) .

    Any suggestion?

  2. #2
    Join Date
    Mar 2003


    The content of the "Content-Disposition" header (which defines the default filename your browser offers you when writing the file) is hard-coded to the file name of the report definition in the solution repository.

    So far there is no way around that.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

  3. #3
    Join Date
    Apr 2009


    There used to be a way, when there were action sequences..Even now, if its Excel that you want, you can work your way around with some minimal shell scripting to change the report file name after downloading it.. Do you want this excel to be shown to you from the UI, or is it be a backend process for a scheduled report generation?
    Last edited by madhupenta; 05-29-2014 at 04:08 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.