Remove the follow button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2016 08:37 AM
I am trying to remove the follow button from the task table. I have inactivated the UI and it did not remove from the task form. I also have added a condition so it only shows for admins and it still didn't remove from the form. Any suggestions on how to remove this UI ACtion.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2016 09:32 AM
Hi Kimberly,
Please go through below links it may help you.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2016 10:32 AM
Hi Kimberly,
you can hide the follow button.
create an ui policy on task table.
Please find the script below.
function onCondition() {
var thePostButton = document.getElementsByClassName('btn btn-default connect-follow');
for (var i = 0; i < thePostButton.length; i++) {
thePostButton[i].style.color = 'transparent';
thePostButton[i].style.background = 'transparent';
thePostButton[i].style.border = 'none';
thePostButton[i].style.visibility = 'hidden';
}
}
Let me know if you need any further information
Regards,
Harshvardhan
PS - Please mark Helpful, Like, or Correct Answer if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2016 05:21 AM
Thanks! That didn't seem to work properly on our instance though. The follow button is still displaying.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2016 10:02 AM
Can you send me the screenshot of your form?
Regards,
Harshvardhan