Need to hide "reply All" and "forward" option from Activity Log. can anyone help.

sukirtighosh
Tera Guru

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:

 

find_real_file.png

Looking forward to your responses.

 

Regards

Sukirti

1 ACCEPTED SOLUTION

Mahendra RC
Mega Sage

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:

find_real_file.png

you will be able to see only reply button once the page is loaded as shown in below screenshot:

find_real_file.png

Please mark it correct/helpful, if it resolves your problem.

Thanks

View solution in original post

12 REPLIES 12

Thank you Mahi, it solved my issue. 🙂 

Hi @Mahendra RC , @sukirtighosh 

we have the similar requirement.

Can we do it without DOM manipulation? Do we have any other way of doing this?

Our requirement is to hide these buttons on all other tables except the customer service case table.

 

Thanks in advance

rashmidadal
Tera Contributor

Hi I have the same requirement .But I want to restricted the reply,reply all ,forward buttons just on the incident table ...