How to hide filter option in list layout

Nagesh5
Tera Contributor

Hello community,

Could some one help me how to hide filter option without hiding the search option in list-layout.as i already aware of that if we "omit filter" in list control search option also hiding along with filters.

Expecting search option should not remove when filters removed.find_real_file.png

Kindly help me to resolve this issue 

Regards,

Nagesh

15 REPLIES 15

Michael Jones -
Giga Sage

You can do this for specific tables using the process documented here: 

https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/list-administration...

This will hide the filter / breadcrumbs without also hiding the search option. 

If you want it to "always" be that way, you can remove the conditional check and just always return false in the function, otherwise adjust the conditions so that the function returns false when you want filters hidden and true when you want it displayed. The example checks is the user has "any" roles, but you could easily modify this to check for specific roles. 

I hope this helps!

If this was helpful or correct, please be kind and remember to click appropriately!

Michael Jones - Proud member of the CloudPires team!

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

Thanks for the reply jones and i dont see any way to hide only breadcrumb in above attached links is there way we can hide only breadcrumb filter..

Pranav Bhagat
Kilo Sage

"Omit filters" hides all filters.

I don't think there is any direct way to do achieve this. DOM might be the only way but it will be tricky.

Can you please help me with approach how to achieve this