Knowledge - How to remove the "Create an Article" Button from user view?

jrvvh
Mega Contributor

Hello Devs,

I have been researching a means to remove/hide the "Create an Article" Button from user view. I have looked into UI macros, pages and views to find the <button> to no avail.

find_real_file.png

I created a Can Contribute user criteria with the role set to "admin" only. I then tested as the user to no avail. Should it be a Cannot Contribute criteria?

 find_real_file.png

I see that the button is buried in the Angularjs code, but do not believe we can access it to adjust the code. If so, that would be great.

Is there a solution to hide/remove the button?

Thanks.

1 ACCEPTED SOLUTION

Brent Sutton
Mega Sage

Hi Ya,

The "CanContribute" user criteria on the knowledge base should have restricted the "Create An Article" button.

When you tested it did you do it in an incognito browser session or clear your browser cache i.e. https://<your_instance_name>.service-now.com/cache.do

Try that and let me know how you got along.

Brent

P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information. 

View solution in original post

5 REPLIES 5

jrvvh
Mega Contributor

The button I am wishing to hide/remove is on the knowledge main page.

Self-Service > Knowledge

The header menu buttons.

find_real_file.png