- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:12 AM
While exporting a ServiceNow table to Excel, the number field is not populating as a hyperlink to the incident, request, or change request. It is showing as a number only. How can I turn those into hyperlinks so clicking on the number will take me to the actual ticket or task?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:33 AM - edited 04-16-2025 03:50 AM
Hello @Vijay Kumar4 ,
This can only be achieved using an Excel formula.
Add a new column, e.g. "Link", to the Excel sheet and put the following formula in the second row:
=HYPERLINK("https://<yourinstancename>.service-now.com/sc_request.do?sys_id="&A2, A2)
Then apply this formula to all rows.
I don't have Excel so I cannot test it. If it does not work please consult the Excel documentation for the HYPERLINK function.
I also think you need to hold the CTRL key while clicking on the cell that contains the link.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:03 AM - edited 04-16-2025 05:04 AM
Hello @Vijay Kumar4 ,
https://<yourinstancename>.service-now.com/sc_request.do?sys_id=REQ0027477
will definitely take you to that request.
Please press CTRL while clicking on the link in Excel, and check the documentation for the HYPERLINK Excel formula to make sure it generates the link in the above format.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:35 AM
The URL returns 'No record found' because the Request number is being passed instead of the sys_id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 05:45 AM
Hello @Vijay Kumar4 ,
Even though the URL parameter is named "sys_id" it will also accept other unique values, like the number.
I'm not sure why you get this error. I have used this trick for many years and it still works fine in an OOTB Yokohama instance.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:38 AM
You cannot export the Number field with link in it by default within ServiceNow.
You will have to perform manual manipulation in excel file
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:40 AM
How to do that in excel?