I want my KB article related links, which further is a KB article iteself , to be opened in a new window , as a portal page just like other KB articles being viewed in the Portal page.

Abhijit Das6
Tera Contributor

We use servicenow portal for better client experience , feel.

We have a knowledge base redirecting to specific knowledge articles within the portal.

There are knowledge articles which contain related links for more information,support.

Current functionality opens the related links KB article in the backend system, rather redirecting it to portal. I need help to open the related KB articles hyperlink ,within the portal, rather opening up in the system backend.  

5 REPLIES 5

VaranAwesomenow
Mega Sage

Dear Abhijit,



What version of servicenow are you on ? I tried in kingston and istanbul and when I click on knowledge article it takes me to the service portal view of the knowledge article record.



as shown in screenshot below.



find_real_file.png


Hey Anil,



Its not happening in the KB article. KB article gets open up in the portal as shown below


ABC.PNG



Problem takes place , when I click any of the hyperlink ,related links. Related links also contain KB articles only. But when I click any of the hyperlink in the related link , it takes me to the kb_view page rather redirecting it to sp , page.



efg.PNG


I am using Helsinki .


Can't it be implemented in Helsinki.


Oh I see.. The reason its happening is cos the related links have a hardcoded reference to the kb_view.do page it should be to the kb_article page I found an example at my end where there is a link in the article that points to another article, below is the text in the article



find_real_file.png



and this is the html code.. now we need to change this to point to service portal




find_real_file.png



new code



<li>Press <code><a href="/sp?id=kb_article&sys_id=3b07857187032100deddb882a2e3ec20"


find_real_file.png



The end result would be, when I click on win-x it takes me to the article and shows in service portal view



find_real_file.png



But bear in mind that this change impacts everywhere, as in even if the article is opened from the non service portal view in the first place it still redirects to service portal to view the secondary article when clicked on the link.


I have 2 quick questions   regarding your solution-



i)Will the change in HTML code of that particular hyperlink in that particular KB article , imply to all KB article's related links.
ii) Secondly what should be implemented to check the problem you refer later. Such that kb_view page gets open when user is using servicenow system to access knowledge base & sp?Kb_article page gets open when user is using servicenow portal to access knoweldge base.