Need to generate PDF with all the fields when end user submit a catalog

AkashL722774083
Tera Contributor

When an end user submits a catalog through the portal, the system should automatically generates a PDF document containing all the submitted information.

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@AkashL722774083 

you can use PDF Generation API

check this link which has script from Piyush

Generate PDF file for catalog variables and attach it to RITM 

you can check the PDF Generation API for this

Generating Custom PDFs - using the new PDFGenerationAPI

another method

Generate PDF and attach to the record

When catalog item is submitted, attach variables to RITM as a PDF 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

@AkashL722774083 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

9 REPLIES 9

Bhimashankar H
Mega Sage

Hi @AkashL722774083 ,

 

This is bit a complex, you might need to go through the post, I will mention here.

 

  • Use ServiceNow’s sn_pdfgeneratorutils API to convert your HTML content into a PDF and attach it to the Request Item (RITM).

  • Use a Flow Designer flow, Business Rule (after insert), or Script Include, triggered when the catalog item is submitted (e.g., when a new sc_req_item is created).

 

Go through this article

Autopopulating PDF with Form data and attaching it to the ticket .

Generate PDF and attach to the record 

 

Community post.

When catalog item is submitted, attach variables to RITM as a PDF 

 

This is add on

Generate PDF - Developer Connect 

PDF Generation - ServiceNow You Tube 

 

 

Thanks,
Bhimashankar H

 

-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!

Thanks @AkashL722774083 , marking my answer helpful.

 

As new feature of community you can accept multiple responses as 'answer'. If my response points you in the right directions, please consider marking it as 'Accept as Answer'. It will help future readers including me..

Thanks,
Bhimashankar H

Ankur Bawiskar
Tera Patron
Tera Patron

@AkashL722774083 

you can use PDF Generation API

check this link which has script from Piyush

Generate PDF file for catalog variables and attach it to RITM 

you can check the PDF Generation API for this

Generating Custom PDFs - using the new PDFGenerationAPI

another method

Generate PDF and attach to the record

When catalog item is submitted, attach variables to RITM as a PDF 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@AkashL722774083 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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