We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Incident Export to PDF not exporting all the fields on Service Portal.

ads4
Kilo Guru

Hello. 

The export as PDF Option doesn't export all the fields when i click on export as excel. The records are being shown on data table instance definiton widget

What is the reason behind this & how can this be fixed?

find_real_file.png

13 REPLIES 13

hello,

Can you impersonate to someone and see it it is happening for other users as well?

Thanks

hi!

I checked but still the same issue. 

 somehow the correct view is not taken when i click this link, not sure where the issue is!

Oh I see the issue. After sysparm_view there is a sysparm_fields parameter. If this is provided, those fields are used in place of the provided view. This URL must have been customized at some point?

Hey david, i need to export the same fields mentioned in sysparm_fields parameter these are the fields i've set on the sp list view, check my screenshots,  however i'm getting a different list view on the downloaded pdf.

Right. It seems someone must have customized the widget where the url for the export is defined. I think this is on the Data Table widget, but not 100% sure on that. At any rate, if you find where the url is defined on the widget, then remove the sysparm_fields portion of the url, the view setup should take over the next time you load the widget.