PDF Fillable fom

paradise624
Tera Contributor

i have a client that would like to take all the information that has been completed in the fillable PDF and store it in ServiceNow. Is that possible?

1 ACCEPTED SOLUTION

Hi paradise624,

You can use the record producer to populate a form (table). The fillable PDF template would be mapped to this table and the data would be presented to the employee by way of an HR Task, based on those mappings. 

Regards,

Mike

 

View solution in original post

12 REPLIES 12

DirkRedeker
Mega Sage

Hi

 

First you need to have the PDF file as an attachment record.

 

Then try this;

var pdf              = new global.GeneralPdfUtils();
var attachmentSysId  = 'c453188b4f13330058c38df07310c789'; // Sys ID of a PDF form attached to any record
var fieldsString     = pdf.getPDFFields(attachmentSysId);

gs.info(fieldsString);

var fields           = JSON.parse(fieldsString);

 

Let me know, if that works and mark my answer as correct and helpful, please.

Thanks & BR

Dirk

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

Hi paradise624,

The ability to capture data entered into the fillable PDF presented in the dialog and save that data back to a ServiceNow table is not possible out of the box. Our APIs do not parse the DATA within the fillable PDF dialog. Typically customers are presenting a record producer to capture the data and populate that data into the fillable PDF.

 

Regards,

Mike

Thanks Michael Sheridan,

 

If I create a record producer, how would I populate the data into the fillable PDF? Will I need to write a script or is this something that can be done out of the box?

 

Hi paradise624,

You can use the record producer to populate a form (table). The fillable PDF template would be mapped to this table and the data would be presented to the employee by way of an HR Task, based on those mappings. 

Regards,

Mike