URL parameter &XML - ServiceNow Community
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

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