HTML designer save function
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
HTML designer save function
Is there a way to call the HTML designer save or save as function from an external button, as if the user has clicked on File - Save from the menu.?
-
- Posts: 6259
- Joined: Tue Mar 20, 2018 5:34 am
Re: HTML designer save function
Hello,
You can call Save method.
Thank you.
You can call Save method.
Thank you.
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
Re: HTML designer save function
Is that the same for Javascript?
I tried this: jsReportDesigner.Save() but it says unknown function.
I tried this: jsReportDesigner.Save() but it says unknown function.
Re: HTML designer save function
Hello, Chris.
If you want to save the report that is opened in the HTML5 designer you could use next code:
Thank you.
If you want to save the report that is opened in the HTML5 designer you could use next code:
Code: Select all
//where jsStiWebDesigner1 - "js" + designer ID
jsStiWebDesigner1.ExecuteAction("saveReport"); // emulate the Save button
jsStiWebDesigner1.ExecuteAction("saveAsReport"); // emulate the Save as button
-
- Posts: 45
- Joined: Tue May 21, 2019 1:44 pm
Re: HTML designer save function
Excellent, thank you
-
- Posts: 6259
- Joined: Tue Mar 20, 2018 5:34 am
Re: HTML designer save function
Hello
Please let us know if you need any additional help.
Thank you.
Please let us know if you need any additional help.
Thank you.