How to open a Knowledge Article in a Portal Page in a new window at specific location (anchor).

Lon Landry2
Tera Contributor

Howdy Community,

I can open a Knowledge Article in a new window via ServiceNow URL field (Link button).

find_real_file.png

https://XXXXX.service-now.com/kb_view.do?sysparm_article=KB0511177 #ph

Permalink                                                                                                     Anchor

But the knowledge article opens outside of the portal.

find_real_file.png

Does anyone know how to open the article at an anchor; staying inside of a branded portal?

1 ACCEPTED SOLUTION

"/pgdg?id=kb_article&sys_id=sys_id of article"

 

//here you can get the sys_id of record by opening the knowledge table. In the search enter article number in the number field and press enter. Now right click on the article and click on copy sys_id. Recplace the"sys_id of article" with this value.

View solution in original post

9 REPLIES 9

Lon Landry2
Tera Contributor

Does the system ID get repeated in the URL?

repeated means.?

Lon Landry2
Tera Contributor

Pass the url as "/sp?id=kb_article&sys_id=sys_id of article"

I found the System ID of article:

Article #:
KB0511177

Sys ID:
4a0d81bfdb261b401f15f1a51d9619a7

SP:
pgdg

 

But I must be missing the sys_id (thought this was duplicate)

this should be the URL:

 

/pgdg?id=kb_article&sys_id=4a0d81bfdb261b401f15f1a51d9619a7

Lon Landry2
Tera Contributor

Thanks so much for your help & time!