View Knowledge Articles from Inc/Prob etc. modules

dave_m13
Kilo Contributor

Hi All

We have a link to Knowledge Articles in the various modules in Service Now, however when the link is clicked it takes you directly to kb_knowledge table. What they actually want though is to go directly to the Article in kb_view, this is so they can report on the number of times the knowledge articles have been viewed, through Incidents, Probs etc.

I have disabled the hover icon, so that they can no longer hover or even click to the knowledge table and have added a new UI action that will redirect to the View Article, which works fine. However I would like probably a UI Macro next to the kb field to open up in a new window. They cannot edit anything, so its purely for viewing.

Has anyone done something similar.

Many Thanks

16 REPLIES 16

dave_m13
Kilo Contributor

You will need to add an extra condition, something like

if (!gs.getUser().hasRole('knowledge_admin')) {

Only knowledge admin can edit articles.


coolboy
Mega Expert

no we alow every user to edit articles irrespective of roles....then this updated article goes to kb_sub table where knowledge can approve,reject,delete article.