PDF generation with records with related lists and images

samadam
Kilo Sage

I have a record that has an image and few related list items that have images as well. I would like to generate a PDF with certain fields from main record and few fields from the related records(all are of a child table) and image from there. What is the best way to accomplish this?

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@samadam 

Did you try to use the OOTB Print capability from the preferences i.e. Printer Friendly

AnkurBawiskar_0-1750254435192.png

 

If you want a custom PDF i.e. only some fields from main form and some fields from related list table, then you can use a custom PDF using PDF Generation API

Generating Custom PDFs - using the new PDFGenerationAPI 

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

@samadam 

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