- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018 04:46 AM
Hi,
I need to hide "Reply All" and "forward" option from Activity log. I already looked for "email_reply" OOB UI Macro, and commented the code lines for " Reply all" and "forward" option, but it's still not working. Can anyone help please:
Looking forward to your responses.
Regards
Sukirti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018 10:07 AM
Hi Sukirtighosh,
Could you please try the below code in onLoad client script to hide the 'Reply All' and 'Forward' buttons:
function onLoad() {
$j('button[reply-type="replyAll"]').toggle();
$j('button[reply-type="forward"]').toggle();
}
since I don't see any id for these 2 buttons when I do inspect element in UI 16 as shown in below screenshot. so I tried to hide these buttons by 'reply-type' attribute value:
you will be able to see only reply button once the page is loaded as shown in below screenshot:
Please mark it correct/helpful, if it resolves your problem.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018 05:31 AM
This UI Macro is not turned on OOB. I would just deactivate it. Although I tried turning it on and did not see any reply, reply all, or forward option in the activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018 05:43 AM
That's because this UI macro works only for UI15. For UI16 servicenow has given a workaround to create a new property "glide.ui16.emailStreamResponseActions" and set it's value to True. Now issue is, that this property is enabling all the three response action "Reply"."Reply all" and "forward" at once. As per my requirement i want to hide option"reply all" and "forward" from there.
Regards
Sukirti

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018 05:41 AM
You're in good hands with Brian helping you on this one but I'd be curious to see a screenshot of the actual UI elements you want to remove. I don't think this is an out-of-box behavior.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2018 05:46 AM