Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Mark Roethof
Tera Patron
Tera Patron

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Hi there,

 

Saw the nice video and knowledge sharing of Robert Fedoruk, "Show XML: The Admin's XRay Specs (NOW IN VIDEO!)"? A feature that has been around for a while, and I use it a lot, really awesome!


Upon choosing the "Show XML" option, a nice readable pop-up appears. Though did you notice, that when you click outside of the pop-up, it automatically closes? Arrggg, annoying!


There's a workaround to this, without using an external editor or something, just ServiceNow 😀.

URL parameters

ServiceNow offers some URL parameters with which you can view or download a list or a record in a different format. Formats like CSV, XML, PDF and UNL (Unload).

Applying &XML

So the workaround for the automatically closure of the pop-up? Just because it's annoying. Or because you might want to have multiple windows open, to compare XMLs?

 

When you open a list or a record in a new tab (open in a new tab, CTRL+left mouse click, etcetera), the URL will start with something like "/incident.do". If this is the case…

 

Add at the end of the URL:
&XML

Note: If your URL starts with something like "/navpage.do", then this will not work!

Result

To show also an example of multiple windows open, for example to compare XML's:

 

find_real_file.png

---


And that's it. Hope you like it. If any questions or remarks, let me know!

 

C

If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.

 

Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in?
- Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Kind regards,


Mark Roethof

ServiceNow Technical Consultant @ Quint Technology
1x ServiceNow Developer MVP

1x ServiceNow Community MVP

---

LinkedIn

Comments
claudev
Tera Explorer

As an additional "nice to know", appending "&XML&sysparm_display_value=true" will output the display value of referenced records instead of their sys_id. Unfortunately, using "&XML&sysparm_display_value=all" doesn't work as we could hope, so we can either display the sys_id of referenced records or their display value, but not both of them

alonsotorres
Tera Contributor

Does someone know what the UNL format means/does?

Version history
Last update:
‎08-13-2024 11:05 AM
Updated by:
Contributors