How to enable Hyperlink when exporting report from servicenow to excel

Vijay Kumar4
Mega Guru

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?

VijayKumar4_0-1744798262390.png

 

 

1 ACCEPTED SOLUTION

Robert H
Mega Sage

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

View solution in original post

9 REPLIES 9

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

The URL returns 'No record found' because the Request number is being passed instead of the sys_id.

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.

RobertH_1-1744807421743.png

 

Regards,

Robert

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Vijay Kumar4 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

How to do that in excel?