How to Remove the Manage Filters button on the service portal

Patrick Cavanau
Tera Contributor

Hello, 

 

A client has the request to hide the "manage filters" button when clicking load filters on the service portal. I am using a Data Table from Instance Definition widget to display a table and also have the filter available. They want users to be able to create a filter but not click on the manage filters button. I am able to get hide buttons on the filter such as save filter, as I know the name of those buttons (.save-filter-btn) but I do not know the name of the managed filter button so I cannot add it to the CSS to hide.

PatrickCavanau_0-1704897862280.png

 

 

Thank you for any help

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

@Patrick Cavanau Can you try with below CSS 

 

.modal-header .manage-filters-button {
    display: none;
   
}

 

Thanks,

Harsh

View solution in original post

5 REPLIES 5

Harsh Vardhan
Giga Patron

@Patrick Cavanau Can you try with below CSS 

 

.modal-header .manage-filters-button {
    display: none;
   
}

 

Thanks,

Harsh

@Harsh Vardhan 

Thank you very much for this it was just what I was looking for. One more question on this though. Is it possible to set a default for the filter so that upon loading the filter, it always opens with "name contains" and not "choose a field". 

 

So instead of opening the filter and it looking like this

PatrickCavanau_0-1704913999774.png

 

It looks like this when opening the filter

PatrickCavanau_1-1704914267674.png

 

@Patrick Cavanau  Glad my answer helped you.

 

Can you try to click on "clear all" button and also clear the cache ( by running cache.do ) then reload the page see if that helps you.

 

Thanks,

Harsh

 

 

@Harsh Vardhan Yes your answer was very helpful. 

I actually want it to always start having the name in the "choose field" section so that the users do not have to search for the field every time they open it. Right now it is working as it normally would and starts with the "choose field" section.