- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2025 02:39 AM
When an end user submits a catalog through the portal, the system should automatically generates a PDF document containing all the submitted information.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2025 05:28 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2025 04:41 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2025 05:28 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader