Service Catalog to stop getting redirected to native UI by clicking on hyperlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2022 01:53 PM
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!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2022 08:10 PM
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>