Hi, How do I save a report in the designer as JSON var without having the user interact with the "save" or "save as" in the designer?
I tried calling
var jsonReport = report.saveToJsonString();
but it just gives me the JSON of the original loaded design, not the modified one.
Thank you
Programmatically save a changed design report
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Programmatically save a changed design report
Hello,
Where do you use your code?
Also, please try to check designer.report.saveToJsonString()
Thank you.
Where do you use your code?
Also, please try to check designer.report.saveToJsonString()
Thank you.
Re: Programmatically save a changed design report
Hey Lech, never mind. It works, it was a local variable assigned rather than the global variable that I needed to use.
Cheers!
Cheers!
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Programmatically save a changed design report
Hello,
You are welcome.
You are welcome.