How can I use PDFmake on the Server Side

DirkRedeker
Mega Sage

Hello

I am trying to use PDFmake on the Servcer Side. I tried to copy the library from PDFmake (pdfmake.org) into a Script include in Service Now.

Unfortunately I cannot even save the Script Include. Maybe about 65000 rows or source code (of the library) is too large to save to a Script Inlcude?

 

Anyhow, maybe you have an answer and can let me know, how I could use the PDFmake library in SNOW?

Thanks a lot for your help

BR

Dirk

5 REPLIES 5

Ct111
Giga Sage

Hi ,

 

Check the belwo link it might give you clue about how to proceed about this 

https://community.servicenow.com/community?id=community_question&sys_id=3c4765a9db0da7401cd8a345ca961998

 

regarding PDF make yuo can read comment from 

Yifeng Zhang
 
 
 
 
Mark my ANSWER as CORRECT and HELPFUL if it helepd

Hello creativethinker

Thanks a lot for your answer. The link you posted goes to pdfcreator from share, but I am trying to get pdfmake on the run.

The post from Yifeng Zhang is really about pdfmake, but he is running pdfmake on the client side.

I need to run it on the server side, because I want to store the resulting PDF file as an attachment to a record.

Thanks a lot anyway!

 

BR

Dirk

 

Sanjay Bagri1
Tera Guru
Hi, Please can you check once in below link might be helpful for you . https://community.servicenow.com/community?id=community_question&sys_id=cace8b61dbdcdbc01dcaf3231f961965&view_source=searchResult If it is helpful for you. Please mark as helpful and correct. Thanks Sanjay Bagri

Hello Sanjay

Thanks a lot for your answer. The article you mentioned takes care about exporting List records to PDF.

I need to create "invoice" like formated PDF "printout", which is more likely to be an output from a report generator.

I need to do that on the serverside with free layout options.

 

So, sorry. That did not solve my issue.

 

Thanks anyway.


BR

Dirk