Possible to export Report as .rdlx-json file from the React Designer Component?

Posted by: tim.malcham on 2 August 2022, 2:47 am EST

  • Posted 2 August 2022, 2:47 am EST

    I’m using ActiveReportsJS, specifically the React components to build a reports designer in my app. I’d like to enable users to export a newly designed template as a .rdlx-json file, that will then be stored elsewhere.

    In the standalone designer application (desktop app), there’s a way to do this: File → Save As → save as rdlx-json file. Is it possible to have this same functionality in my React implementation on the browser? I see the documentation for building a custom File menu dropdown, but not for saving as json file.

    I need to be able to save templates that can later be loaded and exported with loading the report into the designer or viewer.

  • Posted 2 August 2022, 7:29 pm EST

    You could use the “getReport” method of the designer instance to get the current report definition and save it in a preferred location. https://www.grapecity.com/activereportsjs/api/classes/ReportDesigner.Designer#getreport

Need extra support?

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

Learn More

Forum Channels