How to redirect unauthenticated users to login for restricted knowledge articles from the kb_view.do page?

Steve Kelly
Mega Sage

Hello Community,

We have a mix of public and restricted KB articles in our Knowledge Base. We have successfully implemented a redirect to authenticate when an unauthenticated user tries to access a restricted knowledge article on our service portal (the default behavior is an 'Article not found' error which is not user friendly). However, has anyone been able to do this in the native UI by modifying the kb_view.do page?

I haven't used Jelly too much so I'm not very familiar. I see ServiceNow has implemented this for their own Hi portal, so I may end up asking on Hi if I can't find an answer here.

Cheers,

Steve

12 REPLIES 12

Hello,

I have not had the time to work on trying to get the kb_view.do page working unfortunately. But I'll post here if I do.

Thanks,

Steve

Nitesh Nishant
ServiceNow Employee
ServiceNow Employee

In the filter navigator type, sys_public.list
under page search for kb_view and set active to false

Hi Nitesh,

 

The goal is to configure the page to still be public, but redirect the users to login if the actual KB article is not public. So this approach would not work unfortunately.

 

Steve