Service Catalog to stop getting redirected to native UI by clicking on hyperlink

Pushpit Saxena1
Kilo Contributor

Hey Guys,

I have a question regarding some work I am doing on a catalog item.

So here I need some help from the community to help me understand that

"How can I implement a functionality in the catalog Item which I am creating from which I am giving a reference for the attachment table. So that If someone click on that link the link automatically download the associated attachment from the Attachment Table. "

But here I am stuck with an issue that the if someone is clicking on that link for example:

https://xyz.service-now.com/nav_to.do?uri=sys_attachment.do?sys_id=<32 character alphanumeric>

Then the users are getting redirected to the native UI of ServiceNow but I want the users to stay on the same page in Service Portal(Catalog Item) instead of them to be redirected to the native UI.

Can Someone please help me this, that how can I implement that. With correct attachment downloading and keeping the user on the same page.

Thanks in advance!!!

1 REPLY 1

Mahesh23
Mega Sage

Hi,

Try changing the redirecting URL

From

 

https://xyz.service-now.com/nav_to.do?uri=sys_attachment.do?sys_id=<32 character alphanumeric>

 

T0

https://xyz.service-now.com/sys_attachment.do?sys_id=<32 character alphanumeric>