I'm thinking to save lots of questionnaire reports to PDF. It's because i would like to know:
a) Does the new document object support PDF?
b) Does the new report.save can save to a PDF format?
If both are no, please can you advise a way for doing it using HTML Canvas and Jspdf?
I find lot of way to do it manually and it will be downloaded in the browser.
https://stackoverflow.com/questions/689 ... -or-jquery
https://stackoverflow.com/questions/172 ... javascript
But what i need it to save them in PDF in a specific folder using a forcase loop. Something like:
forcase QUESTIONNAIRE_DICT do
QUESTIONNAIRE_REPORT.save (maketext("%d.pdf", QUESTIONNAIRE_ID));
endfor;
In the future when we can run Javascript in CSPro logic in a new Cspro function RunScript by wrappingQUESTIONNAIRE_REPORT.save (maketext("%d.pdf", QUESTIONNAIRE_ID));
endfor;
https://docs.microsoft.com/en-us/micros ... javascript
https://developer.android.com/guide/web ... JavaScript
https://pretagteam.com/question/call-ja ... id-webview
this will greater facilitate lots of user defined improvements.
Thanks in advance for your help and support!