Hide Bread Crumbs on Filtered Module View But Still Allow Filtering

dpacheco1
Tera Contributor

Hello,

I created a filtered module that is type 'List of Records' that shows knowledge records matching a certain filter criteria. This filter is quite long though and thus when the user clicks into the module there are a lot of breadcrumbs populated across the top of the screen.

Is there any way to hide the default filter of a module and the breadcrumbs associated with it, but without removing the functionality to further filter the results? I know I could use a list control to hide the filter and the breadcrumbs but I do not want to do this as it prevents the ability to further filter. 

Does anyone know a work around to this?

Thank You.

1 ACCEPTED SOLUTION

Hi,

You can create BR on the Parent table in that case.

Best Regards,

Prashant

If my answer helped you in any way, please mark this answer as helpful and correct.

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

View solution in original post

7 REPLIES 7

Muhammad Khan
Mega Sage
Mega Sage

Hi dpacheco,

Try using before query BR and specify you filters over there. Although you can add further filters but you cannot edit those filters/queries specified in the script. You can check the following link for reference purpose;

https://community.servicenow.com/community?id=community_question&sys_id=3aca16f4dbc60114da1999ead396...

 

Hopefully, this will work for you.

@dpacheco you can also try to create an onDemand Script Include and pass it the sys_id of particular module for which you want to hide the applied filters, as shown in the image below;

find_real_file.png

Then call this onDemand function in the condition of your Business Rule as shown in the image below;

find_real_file.png

Here sysparm_userpref_module is the URI parameter which stores the sys_id of any opened module.

 

Hopefully, this will also help you resolve your query.

PrashantLearnIT
Giga Sage

Hi dpacheco,

You can create before query BR.

current.addEncodedQuery("add_your_query");

Users can filter records easily.

Thanks,

Prashant

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

Hello Prashant,

Thank you for the response. How would I filter based on the module that I am in so it does not filter every module under the parent table in the same way?