Change URL for knowledge articles on portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 04:18 AM
Hello,
I would like to know how to change the url of the knowledge articles on the service portal, currently the links look like this:
https://instance.service-now.com/sp?id=kb_article&sys_id=1b9d69bddbb13300b0716f77489619f3
And I would like to change it to look something like this:
https://<instance>.service-now.com/kb_view.do?sysparm_article=KB0000000
Is this possible? And if yes, how?
Thank you,
Alex

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 05:47 AM
So....you basically want to route them to the back-end view of the Knowledge Article and not on the portal?
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 06:45 AM
Hi Allen,
No, I want to keep them on the portal. I just want the link to contain the KB number instead of the Kb sys id
So instead of &sys_id=1b9d69bddbb13300b0716f77489619f3 to have sysparm_article=KB0000000

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 06:59 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2020 02:43 AM
Hello,
If anyone still need a solution in NewYork for the change of Knowledge article on Service Portal,
Where the permalinks were :
https://instance.service-now.com/hrportal?id=kb_article&number=KBXXXXXX
And that stopped working, but another one :
https://instance.service-now.com/hrportal?id=kb_article&sys_id=01994444444340919e7aaaaaa55555
is working.
The fix is to do a little change in the widget responsible for displaying articles: Knowledge Article Content
In the line of populateParameters you need to change the line:
data.params.sysparm_article = $sp.getParameter('sysparm_article') -> into ->
data.params.sysparm_article = $sp.getParameter('sysparm_article') || $sp.getParameter('number');
Regards,