- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 06:25 AM - edited 06-02-2025 06:26 AM
Hello All,
As shown in the attached screenshot, I need to make the 'Edit' button conditional or restricted in its visibility. Specifically, I want this button to be visible only to users who are members of a specific 'Group' (which is a custom field we have).
Could anyone please assist me in locating the "Edit" button and code or configuration for this (This button is not present in UI Action).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 06:58 AM
Hi @Yogita11_ ,
Edit button rendered in the ui macro "kb_view_common_header_toolbar" and it is called by the ui macro "kb_view_common" which is called by the ui page "kb_view".
Sandeep Dutta
Please mark the answer correct & Helpful, if i could help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 07:25 AM
you will have to check the UI macro code and then make the changes accordingly. details are already shared by @SANDEEP DUTTA
But remember I will suggest to avoid updating the OOTB ui macro etc
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 06:58 AM
Hi @Yogita11_ ,
Edit button rendered in the ui macro "kb_view_common_header_toolbar" and it is called by the ui macro "kb_view_common" which is called by the ui page "kb_view".
Sandeep Dutta
Please mark the answer correct & Helpful, if i could help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 07:25 AM
you will have to check the UI macro code and then make the changes accordingly. details are already shared by @SANDEEP DUTTA
But remember I will suggest to avoid updating the OOTB ui macro etc
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader