- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-27-2019 02:20 PM
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.
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?
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-27-2019 02:33 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-27-2019 02:33 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-27-2019 03:01 PM
I will try your suggestion and let you know how it goes. I didn't think about the cache being an issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-28-2019 08:24 AM
Ran a cache.do, and cleared the browser history. Opened an incognito tab and tested with the same results.
The button I am wishing to hide/remove is on the knowledge main page.
Self-Service > Knowledge
The header menu buttons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-27-2019 02:33 PM
HI JRvvh
Check Below post. It can help