Discuss and Follow buttons

eyal abu hamad
Mega Sage

Hello, I want to hide the discuss and follow only in the project table ? how can I do that ?

eyalabuhamad_0-1740485522419.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@eyal abu hamad 

Steps to hide Follow button only for your table

  1. In the Application Navigator, go to System Definition > Dictionary.
  2. Filter the Table column for the table that corresponds to the form where you want to remove the button.
  3. Open the record whose Type is Collection.
  4. Under Related Links, click Advanced View.
  5. In the Attributes field, add this value -> live_feed=false
  6. Click the Update button.

I don't think you can hide Discuss button only for your table

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

11 REPLIES 11

Florian8
Tera Contributor

I did this on one of my customers instance and this will solve the problem to hide "Discuss" button:

1. In the application menu go to declarative actions > form actions

2. Search for Action label "Open create collab chat modal" -> Choose the one applying for your app (Task table if your table is a child of it)

3. On the record you will see a related list "Action Exclusions"

4. Open that related list in a new window to have it filtered for the Action (Table name "sys_workspace_declarative_action_exclusion")

5. Create a new record with following details:

- Action assignment: keep as is

- Table: Insert the table where you want to hide it

- Exclude this table: true

- Exclude all child tables: true if you want child tables under your app table also to hide it

- View: If needed add a specific view to hide it

6. Submit the record and you should see it under the related list "Action Exclusions" in the Declarative Action

 

Action should be hidden now on your form.

Alternatively 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