How do I change the message 'You do not have sufficient privileges to access this knowledge item'

joyceelynn
Tera Contributor

joyceelynn_0-1739353295134.png

How can I change the message 'You do not have sufficient privileges to access this knowledge item' to 'The article <article number> has been retired.' when user tries to access a retired article. I have updated the message in macro 'kb_view_cannot_read'  but its not showing

joyceelynn_1-1739353383552.png

 

12 REPLIES 12

Community Alums
Not applicable

Hi @joyceelynn 

Can you try with article.number instead of current.number.

 

Hi @Community Alums, I have tried and it doesn't work

Community Alums
Not applicable

You take one more try with kb_knowledge.number make sure your are clearing the cache after every change in code.

tip: You can clear the cache from ServiceNow by going to System Diagnostics > Cache Diagnostics and clicking Clear Cache.

 

Ankur Bawiskar
Tera Patron
Tera Patron

@joyceelynn 

it comes from this widget if you are checking from portal. Did you check which widget is that?

If you are checking from native then it's the macro

from where are you testing?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader