Dot walk fields in XML export of a record

Harisharan
Tera Guru

When we export a record in XML format, it includes all fields of that form by default. However, fields that have been added by dot-walking are not visible in XML view of that record. Is it possible that a field added by dot-walking, either in form view or in list view, can be made to appear in XML view?

For ex, if few columns are added in the Incident list view by dot-walking and exported to CSV/Excel, dot-walk columns can be seen in the exported file, whereas the same columns will not be visible when exported in XML format.

1 REPLY 1

Joe McCarty1
ServiceNow Employee
ServiceNow Employee

Try using sysparm_view to specify the view with the dot-walked field (if it's default you may need to create another).   This worked on my instance:



https://<instance>.service-now.com/sys_user.do?XML&sysparm_view=itil


Screen_Shot_2017-02-01_at_1_07_57_PM.png



You can do the same with the SOAP requests which are also XML using the __use_view parameter.