Follow Button Disabling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2025 05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2025 05:46 AM
Hello @aparnaravi,
Please check below KB article.
Link - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692505
OR
If you only want to hide the button on one or some forms, you can add an onLoad Client Script like this:
function onLoad() {
var items = $$('BUTTON').each(function(item){
if(item.innerHTML.indexOf('Follow') > -1){
item.hide();
}
});
}
Note - Please test it before on non-prod instance.
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2025 06:12 AM
Thanks for sharing the code.
If you are using someone else's code, please remember to give them credit. It's a nice way to acknowledge their hard work and contributions.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2025 08:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2025 05:59 AM - edited ‎04-07-2025 06:19 AM
this KB has solution
How to remove the Follow button from a form header.
simply add live_feed=false in dictionary attributes and follow button is gone
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