Generate PDF Report with selected fields directly without creating attachments

sravalkol24
Tera Contributor

I am trying to generate a PDF report from a Incident Form

  • .I tried creating a view and generating a dynamic URL, it is directly downloading into PDF but all the related records(SLA) are also included in the PDF document.
  • I have tried another approach using PDFGenerator ,but it is attaching the selected fields PDF document to the incident form and the workaround to remove the attachment is not working as the API is not sending the response.

I am looking for a solution wherein I can directly download the PDF with selected fields without any attachments.

 

ThankYou.

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @sravalkol24,

 

Please refer to the links below:
https://www.servicenow.com/community/developer-articles/generating-custom-pdfs-using-the-new-pdfgene...
https://www.youtube.com/watch?v=a73o2bOvSZw

 

If this is helpful, please click the thumbs-up button and accept this solution as the correct answer, referring to it in the future. It will be helpful to them.

 

Thanks & Regards,

Abbas Shaik

Ankur Bawiskar
Tera Patron
Tera Patron

@sravalkol24 

let the attachment get added, you can delete it later after making it download

💡 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