Hide button "Discuss" in some table forms

sieusaopolo15
Giga Sage

Hi,

Just like in the subject, I want to remove the "Discuss" button in some table forms not all of them. Is there any way to do this workaround ?

 

sieusaopolo15_0-1692790127123.png

 

10 REPLIES 10

@sieusaopolo15 

check this link

https://www.servicenow.com/community/sysadmin-forum/hide-discuss-button-for-inicidents-form/m-p/2516... 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Hi @Ankur Bawiskar, 

I read the post and did the solution, it did remove button "Discuss" out of my desire tables but it accidentally removes all the button "Discuss" in my instance and that is not the possible solution in my case.

Nayan  Dhamane
Kilo Sage

Hello @sieusaopolo15 ,

Open the UI action 'Discuss' got to the condition field and add the condition as below for your tables:

current.getTableName() != '<table name>'

 

Hi @Nayan Dhamane,

Unfortunately I could not find any UI Actions related to button "Discuss", it very weird to have an button on the form but can not control in UI Action. Thank you for giving me the solution

Florian8
Tera Contributor

You can create a record in table [sys_cs_collab_enabled_table] for your table and set active=false. It should also hide the button