Page 1 of 1
Get Packed String from Designer
Posted: Thu Nov 14, 2019 9:39 pm
by grbspltt
How do I get a packed string from the report designer? Right now I'm getting it from the designer by hitting the publish button, select JavaScript, load report from string, and checking the box for include report as packed string.
I'd like to get the packed string from a button.
Kevin
Re: Get Packed String from Designer
Posted: Mon Nov 18, 2019 9:51 pm
by grbspltt
Clarification:
I'd like to get the packed string triggered by a button click via JavaScript. I'm saving the packed report string to a database.
Re: Get Packed String from Designer
Posted: Mon Nov 25, 2019 8:28 pm
by Lech Kulikowski
Hello,
Unfortunately, in the JS version, saving to the packed report is not available.
Thank you.
Re: Get Packed String from Designer
Posted: Mon Dec 09, 2019 5:30 pm
by grbspltt
Is there a way to save the report to a string from the JS designer, then load it into a StiReport JS object?
I was loaded it using the loadPacked function on the StiReport object.
Re: Get Packed String from Designer
Posted: Thu Dec 12, 2019 8:48 pm
by Lech Kulikowski
Hello,
You can sue the following method
report.saveToJsonString();
Thank you.