The CreatorCon Call for Content is officially open! Get started here.

How to hide the 'My task' filter.

777_
Tera Contributor

Please teach me the method to hide the 'My task' filter.

スクリーンショット 2025-01-09 144520.png

1 ACCEPTED SOLUTION

Juhi Poddar
Kilo Patron
Kilo Patron

Hello @777_ 

To hide the filter from My Task, follow the below steps:

  1. Navigate to All -> widgets and open HRM Todos Summary widget
  2. In the HTML section comment the line that display the filter widget, as shown in screenshot.JuhiPoddar_0-1736408535756.png

     

  3. This will hide the filter widget from My Task.

Result:

JuhiPoddar_1-1736408659094.png

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

View solution in original post

3 REPLIES 3

Shruti
Mega Sage
Mega Sage

Hi

Go to the HRM to do widget. Press Ctrl+right click and go to instance in page editor

Shruti_0-1736404059226.png

Paste below to CSS section and save it

.filter-bar{
display:none !important;
}

 

Ankur Bawiskar
Tera Patron
Tera Patron

@777_ 

But why?

That filter helps agents to quickly get the cases they wish to work.

Is this a business requirement?

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

Juhi Poddar
Kilo Patron
Kilo Patron

Hello @777_ 

To hide the filter from My Task, follow the below steps:

  1. Navigate to All -> widgets and open HRM Todos Summary widget
  2. In the HTML section comment the line that display the filter widget, as shown in screenshot.JuhiPoddar_0-1736408535756.png

     

  3. This will hide the filter widget from My Task.

Result:

JuhiPoddar_1-1736408659094.png

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar