Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Printing bulk articles from Knowledge Base

sgarci87
Tera Contributor

Does anybody know if there is a way to bulk print ALL Knowledge articles within a Knowledge Base. I know we can print/export articles one at a time, but a request came in from the business to have all articles provided in a bulk print job. We have over 4K articles in this knowledge base.

1 REPLY 1

vijaydodla
Giga Guru

Hi @sgarci87 

Currently, ServiceNow does not offer OOB feature to batch-export articles into individual, formatted PDF files. To fulfill this requirement, technical teams must explore automation. Below is a concise summary of the two strategies for managing large-scale Knowledge exports.

 

1. Browser Automation using external scripts (Selenium/Playwright) to emulate a user printing each page. This Preserves precise UI styling and images.

 

2. Server-Side Scripting Employs a ServiceNow Fix Script and the PDFGenerationAPI to generate files internally. • Can be scheduled to execute during off-peak hours. 

 

 

My Recommendation:

For a request involving 4,000+ articles, Option 1 (Browser Automation) is typically the preferred choice for business users because it ensures the output is readable and professionally formatted.

 

Regardless of the chosen method, it is critical to process the export in batches (example ... 500 articles at a time) to avoid system timeouts or performance degradation. For the cleanest output, always target the article URL appended with ?sysparm_media=print to strip away unnecessary navigation menus and headers.

 

Please mark the solution accepted if this helped. Thank you !