- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 08:30 AM - edited 10-02-2023 08:43 AM
Hello all,
I am trying to track down "Where this Follow/Following button is coming from". I found the documentation of: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692505 we have two with the same name in our instance. BOTH do not have "Form Button" as True, in addition, I also deactivated them and the button still showed up! How else can a Form Button be added to a form header without being a UI Action? Here are some screenshots of what I am looking at.
-------------------------------
The below is the HTML source code. I thought this MIGHT be helpful in figuring out where this button is coming from.
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 11:49 AM
Yeah, I'm pretty sure you're not going to be able to alter the Live Feed functionality. We don't even have access to the Script Includes called by these UI Actions to see what they're doing. As a workaround, 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();
}
});
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 10:27 AM
Per the KB article, did you change the value of the system property named glide.live_feed.task_header_button to none? Typically, you would expect to see 'Form button' checked on a UI Action when looking for a source of a button. Since this is OOTB functionality, with the visibility controlled by a system property, I'd guess there's some other voodoo going on here that isn't exposed to the client base - also evidenced by the UI Actions being named 'Follow on Live Feed' which typically is the same as the button label.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 11:12 AM
yeah, I guess "do the simple thing first" would be the best thing to try first. I did not turn it off since this is a Global System property and other modules are likely using it. What I could do though, is just change the system property, check the Change Request form, and then turn the system property back on. This will at least give me knowledge that the system property is at least related to what is going on so I have a better direction of what is going on here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 11:19 AM
Ok. I changed the system property to none and the Follow button was removed. I changed it back to collaboration and the Follow button was added back. At least I know the system property does have something to do with this Follow button. I am going to post what the UI Actions look like to see if I am missing anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 11:28 AM
The attached images are the same as you see here. The files names contain their respective sys_ids.
************************************************************************************
************************************************************************************