The CreatorCon Call for Content is officially open! Get started here.

Export Report to PDF

vidhya_mouli
Giga Sage

Export Report to PDF

I have a custom widget in the portal, which will display the dashboard with some reports on it. I want to give option to export this report to PDF. Instead of recreating it from scratch, I though I can use the servicenow OOTB option available. Basically want to use this option (in the image). Any suggestion on how this can be done?

 

 

vidhya_mouli_1-1760511777893.png

 

 

1 ACCEPTED SOLUTION

vidhya_mouli
Giga Sage

Managed to do this using: html2canvas.min.js

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@vidhya_mouli 

so how did you add that dashboard in portal widget?

there you are not able to see Export option?

share screenshots.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

This is actually not a dashboard. This is a custom widget which embedded the report widget  in this to generate the reports. I have a custom table from which the reports are pulled.

vidhya_mouli
Giga Sage

Managed to do this using: html2canvas.min.js