Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

I want to hide attachment button on the

Harshal Aditya
Mega Sage

Hello Experts !!

 

I want to hide the attachment tab in the ESC portal where approval state is not requested.  Please refer to the below screenshot.

 

HarshalAditya_0-1788516001315.png

 

We tried updating "Tab Configuration" record to achieve the same.

HarshalAditya_2-1788516614321.png

 

 

But the problem here is that it look at sc_req_item table for filter not the approval table. Also, there are chances where we have multiple approvals on the single RITM.
Could you please let me know if it is achievable OOB.

Thanks in advance!!

 

 

 

1 REPLY 1

glideFather
Tera Patron

ahoy @Harshal Aditya,

 

first of all, it's not a button but rather section or tab on a widget. In case you would find some other resources, this could give you better results than searching for buttons.

 

I am worried that there's no (easy) way to achieve hiding that tab based on conditions (e.g. approval state). AFAIK, it's only possibly to display/hide at all times or to hide it completely. No chance to select for RITM only (I believe the widget is reused for other task types) and for selected RITMs only.

 

This would require customisations and extra efforts made on that widget ("Standard Ticket Tab" most likely), if you plan to do that I would encourage you to first duplicate that widget before making any adjustments to it.


✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---