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
Get Packed String from Designer
Re: Get Packed String from Designer
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.
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.
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Get Packed String from Designer
Hello,
Unfortunately, in the JS version, saving to the packed report is not available.
Thank you.
Unfortunately, in the JS version, saving to the packed report is not available.
Thank you.
Re: Get Packed String from Designer
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.
I was loaded it using the loadPacked function on the StiReport object.
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Get Packed String from Designer
Hello,
You can sue the following method
report.saveToJsonString();
Thank you.
You can sue the following method
report.saveToJsonString();
Thank you.