- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 03:07 AM - edited 09-25-2024 03:08 AM
Hey All!
Our organization has just begun the transition to a new ServiceNow instance which includes quite a number of changes compared to our previous instance. One of these key changes is the move away from custom separate location fields for Site, Building, Floor, and Room towards the usage of a Location Hierarchy (cmn_location).
My issue is when attempting to transition pre-fill URLs for our Service Desk Team, I have noticed that referencing the SYS_ID of the location is not actually filling out the field.
For example, previously I would use something like https://<old-instance>.service-now.com/nav_to.do?uri=incident.do?sys_id=-1%26sysparm_query=u_site=SYS_ID^u_building=SYS_ID^u_floor=SYS_ID^u_room=SYS_ID (Replacing the SYS_ID's with their respective identifier) and opening that URL would pre-fill the related fields.
SNUtils reports the new Location field as simply location, but if I open up a record it shows the table as cmn_location.
Now, if I attempt to use https://<new-instance>.service-now.com/nav_to.do?uri=incident.do?sys_id=-1%26sysparm_query=location=SYS_ID or https://<new-instance>.service-now.com/nav_to.do?uri=incident.do?sys_id=-1%26sysparm_query=cmn_location=SYS_ID the field will not pre-fill.
Does anyone have any advice on how to resolve this?
The usage of a singular ID for a physical location opens a lot of possibilities within some of our adjacent systems that we use in conjunction with ServiceNow and location=SYS_ID for viewing the Incident Table seems to work just fine, it's only creation that isn't working!
Any help would be greatly appreciated!
Solved! Go to Solution.
- Labels:
-
Incident Management
-
Service Desk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2024 09:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 03:40 PM
Thanks Shai, I should have replied but so everyone knows in case you stumble upon this thread, that was the issue. No Script's on load bar Location and in this instance our Admin Team have not permitted removing that script so it's just a no go for my original plans!