File Name for Generated PDF Template

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 02:04 PM
Is it possible to change the format of the file name of a document generated from a PDF Document Template?
We are currently generating a document from a PDF Document Template using the Managed Documents plugin. The file name format for the documents once generated seems to be "<Template Name> - <Signed By>". Can we change which field the name comes from without changing which field the signature is attached to?
Thank you,
-John

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2018 03:30 PM
This is defined in the createPdfForDocument() method within the hr_PdfUtils script include (line 685 in London). It would not be recommended to change this script include because it could impact enhancements to the PDF functionality during upgrades.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2018 05:44 PM
Hey kiel ,
If thats the case , then why not we can deactivate the existing one and copy the content into a new script include and do the modification so that it works as per our requirement and even servicenow will push upgrades as there is no change done on the OOB one
Thanks,
Siva