How to Deactivate or Restrict “Add/Remove Approver” buttons in Knowledge Center workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
In the Knowledge Center workspace, within the Approval tab of an article, there are options available to “Add Approver” and “Remove Approver.” These actions allow users to manually manage approvers for an article.
However, in our current process, approvals are managed through a predefined group, which is responsible for reviewing and approving articles and so these buttons are not required and confusing users.
Is there a option to deactivate or restrict their visibility based on role?
I have already explored Declarative Actions, but did not find any existing OOB configurations applicable to the Knowledge Center scope.
Thanks
Sowndharya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Use
Method1 : Update condition of UI Action
- Navigate to System Definition > UI Actions (or search for UI Actions in the left navigation filter).
- Search for the UI Actions named Add Approver and Remove Approver that apply to the Knowledge or Approval tables.
- Update the Condition field to restrict access based on roles. For example, you can hide the button for users who do not have the admin or knowledge manager role by appending the following to the existing
condition:
&& gs.hasRole('admin') || gs.hasRole('knowledge_manager')
- Click Update to save the changes.
Method2 : Restrict Access via ACL
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti