The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Field missing when exported to PDF from the Form View

SaikiranJ
Tera Contributor

Hi Team,

 

I have a case form with reference fields. for example "Opened for" .If i add the opened for.manager on to the case form and try exporting the PDF. i am able to get the value in the opened for but opened for.manager  is not giving any data(Blank) with the field name as "Opened for" in the exported PDF. 

Is there any alternative to get reference field value in the PDF in the form view not in list view?

How can i get the value of Opened_for.manager when exported into PDF from the form View.

 

Thanks in Advance.

 

 

5 REPLIES 5

Mark Manders
Mega Patron

Instead of dotwalking, you could create a manager field and auto fill it with the opened_for's manager.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Harshal Aditya
Mega Sage
Mega Sage

Hi @SaikiranJ  - Opened for field is present in the case table. But Opened for.manager is not a direct field in the case table that's why you will not be able to pull that field in pdf etc.

In short dot walked field will not be pulled in pdf extract.

Bhuvan
Kilo Patron

@SaikiranJ 

 

Refer below knowledge article,

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2184477

 

Description

When exporting a record with a view that has dot walked fields we are unable to see the value of the dot walked fields in the PDF.

 

Steps to Reproduce

  1. Hop into a Yokohama instance.
  2. Find a record with dot walked fields. 
  3. Right click form header and export to PDF.
  4. You will see the dot walked fields  are not showing.
  5. Also, if the parent of the dot walking field is missing, then a corrupted PDF is generated with 30 bytes. The exported file (30B size) shows "Failed to load PDF attachment"

Workaround

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.


As a temporary workaround please set the system property com.snc.pdf.deployment.mode to INSTANCE and retry the PDF generation, it will work fine. But please note this is temporary and we will be making the permanent fix in sometime, please do check the PRB for permanent fix details.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

@SaikiranJ 

 

Did you get a chance to review this ?

 

If my response helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan