Error when exporting record to PDF

valentin3
Kilo Sage

Hello guys, 

I need your help. We have recently upgraded to Yokohama from WashingtonDC. 

We have a custom table that extends the task table. Our issue at the moment is when you try and export as PDF a record from this custom table.

 

If you export the list of records from list view as PDF is working fine. I have also tried with other records from other custom tables (similar with the one that we are having issue with) and it is working fine. Also, I want to mention that this was working fine on WashingtonDC.

Is it true that I see an error in the logs: "com.glide.script.RhinoEcmaError: Cannot read property "u_custom_field" from null
<refname> : Line(1) column(0)
==> 1: current.u_custom_field == true
Stack trace:
at <refname>:1"

We don't have special ACLs or business rules..

Can you help me with some guidance? I don't know what to debug further. 

1 ACCEPTED SOLUTION

So, with the new Upgrade ServiceNow said it's an known issue and they are working on a fix. 

As a workaround they said to de-activate the following property: com.snc.pdf.generation.v2.enabled

View solution in original post

5 REPLIES 5

Seems that it is still broken and even worse, that system property is no longer writeable.