salesforce/vulnreport

Change export view to PDF

munchkinboy1991 opened this issue · 2 comments

Hi @tbach -- Quick question, I will like to change the "Download" function to PDF rather than web browser version. Would you be able to direct me where can I find that snippet?

tbach commented

@munchkinboy1991 If you enable the PDF export option a PDF link will appear on test view which will open the PDF output. Right click/save as on that link or opening it and saving it would save a PDF.

In your individual installation if you wanted to reallocate the "Download" link to the PDF version you would want to edit around

https://github.com/salesforce/vulnreport/blob/master/views/test_single.erb#L301

Great thanks! @tbach