UI Action to generate PDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2025 04:57 AM
Hi,
I installed Document Template plugin and added my own HTML Template, I can preview from Document template template form, but I want same capability to preview and download the pdf from Incident table, can anyone help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2025 03:21 AM
Hi @Ankur Bawiskar ,
I couldn't get preview logic, but when i click on UI Action, using the html template i got apdf file attached to attachments,
here is the code,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2025 03:34 AM
you cannot generate doc as ServiceNow doesn't have any API for that.
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