How can a URL do a lookup of a USER using their USER_ID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 11:36 AM
Hi,
I'm new to ServiceNow, but have read the 'CTI' page, and 'navigate to url' page because I have to screen pop Service Now in a few different ways. I'm working on a customer instance, and have had difficulting finding a URL that pops Service Now to a page for a specific user:
Example: USER-LOOKUP, where USER_ID = 206458353
https://<instance>.service-now.com/nav_to.do?uri=sys_user.do?sysparm_query=sys_user=https://<instance>.service-now.com/nav_to.do?uri=sys_user.do?sysparam_query=sys_user=206458353206458353
What am I missing here? I don't have access to any administration pages for Service Now.
Also, if I navigate to a specific URL, for example (https://<instance>.service-now.com/task.do?sysparm_query=number=INC0261581)
how do I add URL parameters to populate additional data on the page?
Thanks!
Claudio
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 11:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 12:04 PM
Hi Edwin,
Thanks for the quick response! However, when I tried what you gave me, it lists 'No Records Found'?
Why would that be?
However, when I used the following from an external application it worked:
I'm calling this from an external application, so I don't have any idea how I'd get the sys_id... Do I have to query the window for it? I would much rather use a simple URL like the one you provided me. Do I have to put quotes around the USERIDHERE?
Thanks!
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 11:53 AM
To go directly to the page of a user use the following url
https://dev10105.service-now.com/nav_to.do?uri=sys_user.do?sys_id=62826bf03710200044e0bfc8bcbe5df1
To pass values to a new record
https://<baseURL>/nav_to.do?uri=<table name>.do?sys_id=-1%26sysparm_query=<field=value>
Example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 12:07 PM
HI Laurens,
Wow, you guys are fast! As I mentioned to Edwin, the lookup with the ID tells me 'no records found', however if I plugin the ID into the search field, I find a user. Do I need anything else to make this query work?
https://dev10105.service-now.com/nav_to.do?uri=sys_user.do?sys_id=https://dev10105.service-now.com/nav_to.do?uri=sys_user.do?sys_id=62826bf03710200044e0bfc8bcbe5df1206458353
Thanks!
Claudio