Field missing when exported to PDF from the Form View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago - last edited 4 weeks ago
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
- Hop into a Yokohama instance.
- Find a record with dot walked fields.
- Right click form header and export to PDF.
- You will see the dot walked fields are not showing.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
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