How to hide post button on portal while ticket is closed

Tushar Hirpurka
Tera Contributor

Hello,

 

I want to hide "Type your message here" input box , Post button and attachment button from portal for those tickets which are in closed complete or cancelled state.

I tried it by adding code in HTML and Server side in Widget but no luck

 

Requirement is not specific to any application its generic.

 

TusharHirpurka_0-1684847586232.png

 

Thanks,

Tushar

 

3 REPLIES 3

Muskan Dixit
Tera Contributor

Instead of trying to hide post button, you can update write ACL on comment field so that it doesn't give access when state is closed. (you just need to add condition in ACL that state is not one of closed complete or cancelled).

Once you update ACL correctly this whole field will not be visible for closed cases.

Cristina Costa
Tera Contributor

Did you find a solution, I tried the ACL, but nothing changed 

b__SuganyaN
Tera Contributor

Go to 'Standard Ticket Configuration  module and open 'sc_req_item' record. Under 'Tab Configuration' Click open the 'Activity' . In the 'Visible' update condition state is not closed