Set File Name for IMG Export

Posted by: bnguyen on 6 May 2024, 3:32 am EST

    • Post Options:
    • Link

    Posted 6 May 2024, 3:32 am EST

    When exporting a report to JPEG, it will create files with naming convention “ActiveReports###.jpeg” Is there any way to have custom file names when exporting?

  • Posted 6 May 2024, 7:52 pm EST

    Hi Brian,

    To change the starting name i.e. in your example ‘ActiveReports###.jpeg’ to change ‘ActiveReports’ you can specify your desired name in the ‘FileStreamProvider’ class.

    However, the reports have multiple pages, and therefore by default the number ### is added in front of the name, in case you do not want the particular format of the numbers you can access the directory after exporting and change the format as per your requirements.

    Please find attached a sample implementing the same.

    Regards,

    Anand

    ExportToImage.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels