Knowledge article portal redirection

Community Alums
Not applicable

when i search KB article with KB number on portal it is redirecting me to native view (kb_view). But when i searched the same article using short description or text it is redirecting me in portal view itself. I want to redirect every article in the portal only instead of native view

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Community Alums 

 

Might be helpful

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1208300

 

https://www.servicenow.com/community/virtual-agent-nlu-forum/search-knowledge-topic-returning-links-to-kb-view-do-why-not/td-p/251526

 

https://www.servicenow.com/community/developer-forum/how-to-redirect-users-from-kb-view-do-sys-kb-id-to-service/m-p/1861390

 

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

AparnaSahu
Tera Guru

You can also refer to the knowledge article -

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1208300

 

Or try adding particular portal in the KB.

AparnaSahu_0-1752117494111.png

 

 

 

Thanks,

Aparna

Community Alums
Not applicable

 

 

  • Go to Service Portal > Widgets → search for Knowledge Article (or your portal’s widget).

  • In the widget’s client script or link template, make sure it always builds the URL to the portal page instead of native.

'/kb_view.do?sys_kb_id=' + article.sys_id

 

change this to

 

'/sp?id=kb_article_view&sys_kb_id=' + article.sys_id