Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Need assistance to generate PDF document via UI Action on purchase order record

R_52
Tera Guru

Hi, I am trying to generate a PDF document via UI Action on Purchase order form. 

 

I have a data inside Word document and using PDFGenerationAPI() to generate a PDF document by converting the data in Word doc. to HTML format.  But look and feel are different compared to PDF document that converted via Online.

 

Also, I have tried to do using Document templates method but it is also not working. Here, there is no Purchase order table in the list and I am trying to use RITM/SCTASK tables instead. but the challenge is there is no way to get the PO data from a variable.

 

My client is not accepting this PDF document that got generated via API because it will be difficult to maintain the changes and he wants a way to maintain the Document in version1, version2 formats upon modifying the document. 

 

Please let me know if there is any way to achieve this 

0 REPLIES 0