I am a creator — PDF Document Generator - Walter Brame

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2014 08:09 PM
------------------
EDIT
------------------
A lot has changed over the years.
Be sure to check here first:
https://developer.servicenow.com/dev.do#!/reference/api/quebec/server/sn_pdfgeneratorutils-namespace/CellBothAPI?navFilter=pdf
Have also enjoyed repurposing Webkit HTML to PDF plugin:
https://docs.servicenow.com/bundle/geneva-performance-analytics-and-reporting/page/use/performance_analytics/task/t_ActivateWHTP.html
------------------
ORIGINAL
------------------
PDF Document Generator is used by the ServiceNow, Inc. sales organization and is a generic HTML form creation and PDF Document generation framework. The framework supports creating HTML forms and PDF files using any UI Form in the instance as a template.
The PDF Document Generator will replicate how that standard UI Form looks but then provides the functionality to change it easily as a front-end user without requiring development.
A PDF feature exists today in the standard platform but it is not customizable. The PDF Document Generator allows for rapid deployment of multiple templates and making changes on the fly to every component visible on the screen very quickly and easily.
Previously, the Sales organization was challenged with the ability to produce Quotes and Sales Orders from a CRM environment. With this custom ServiceNow, Inc. app in place, it is now possible for the front-end business users (sales operations, systems managers, administrators, power users, non-developers) to access configuration tools that put control of the following features directly into their hands:
- Add/remove fields as needed
- Change any fields placement and the field's label, orientation, or value
- Change any section/grouping or fields / Table of information (E.g. "Section 1", "Section 2", etc.)
- Add/remove new sections present in the form
- Manage an entire section's placement, splits, annotations, and headers
- Re arrange the placement of components in the form (E.g. one component relative to the next)
- Change the look and feel (color, border, padding, alignment, etc.) via common HTML and CSS style attributes.
- A scripting API to create dynamic conditions to change any aspect of the form and data (style, value, label, section, etc.).
- Save templates of form layouts
- Preview and print to PDF
The functionality of this PDF Document Generator was made possible by leveraging the ability to write custom scripts in the standard ServiceNow platform, and by having access to the backend table structure and data where forms are stored in the instance (standard UI page, CSS, HTML, and JavaScript). A single developer, in a time frame of one business quarter, built the PDF Document Generator.
!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2016 03:21 AM
Hello Walter and everyone here,
First of all, thanks for your work with the PDF Document Generator. It has been so useful for us.
I added it at the end of 2014 in our Service Now instances and use it to Generate a PDF for some mobile users. It worked fine for most of the time...
But now, recently we have upgraded our instances to Geneva Patch Six, and it is not working anymore. When I added it we were on Eureka but I cannot remember exactly which version. In any case now seems to not be working anymore...
I've read some messages here that Service Now has added it as a plugin in the system on Geneva versions, and I tried to activate it again but it's not working anymore...
I don't know if it's possible any fix or workaround to continue using it...
Many Thanks in advance, will continue to investigate.
Regards,
Ignacio Sancho.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2016 03:33 AM
Hi Walter,
i just downloaded this but i am not able to make it work
I went to the 'demo' menu and when i click on preview pdf or generate pdf i am getting the following error
Illegal attempt to access class 'com.itextpdf' via script
I am on fuji.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2016 09:40 AM
Dear Walter,
Is there any User or Developer Documentation? I have committed the Update Set into our Fuji Development instance and it appears to have committed fine. I just have no idea where to go from here to actually use it. I have a Process Owner who is very anxious to start using this.
Thank you in advance.
Respectfully,
Robert

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2017 06:22 PM
Has anyone used this functionality to generate system documentation?
I feel like it could be quite useful for this purpose.
ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2017 06:58 AM
Hi Walter,
I am on Helsinki and i just downloaded this but i am not able to make it work.
I went to the 'demo' menu and when i click on preview pdf or generate pdf i am getting the following error
Illegal attempt to access class 'com.itextpdf' via script
Armin