Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Export Report to PDF

vidhya_mouli
Tera 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
Tera Sage

Managed to do this using: html2canvas.min.js

View solution in original post

4 REPLIES 4

Ankur Bawiskar
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  ||  10x 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
Tera Sage

Managed to do this using: html2canvas.min.js

@vidhya_mouli 

share your solution so that it helps others.

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