This topic is locked

How to email the current page as PDF

8/20/2020 10:50:21 AM
PHPRunner General questions
M
Mr Foxx author

Tried using the guide in the tutorial to create a custom button to achieve email the current page as PDF.
ajax.addPDF( 'pdf', {}, function() {

return ctrl.dialog( {

title: 'Email this page',

fields: [{

name: 'email',

value: 'email@address.com'

},

{

name: 'filename',

value: 'results.pdf'

}]

});

});

return false;
Keep getting undefined error.
Tried using https://xlinesoft.com/phprunner/docs/troubleshooting_javascript_errors.htm to troubelshoot and got an error related to /include/pdfmake/pdfmake.min.js.map: HTTP error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Followed this thread https://asprunner.com/forums/topic/27240-how-to-email-the-current-page-as-pdf/ but still haven't gotten a solution.
Any assistance will be greatly appreciated.
Using version 10.4.
Thanks in advance!!

Sergey Kornilov admin 8/20/2020

Make sure you follow all steps from this article:

https://xlinesoft.com/phprunner/docs/how_to_email_the_current_page_as_pdf.htm
It will work. If it doesn't work for you - post your project to Demo Account and contact support directly.

M
Mr Foxx author 8/23/2020



Make sure you follow all steps from this article:

https://xlinesoft.com/phprunner/docs/how_to_email_the_current_page_as_pdf.htm
It will work. If it doesn't work for you - post your project to Demo Account and contact support directly.


Thank you for your response but it didn't work will have to post to demo account and contact Admin.

But just to mention here that other users have been having the same issues where the sample codes worked fine in previous versions but due to upgrades they don't seem to work anymore.