- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 10:09 AM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 11:53 AM
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
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 10:21 AM
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;
Hopefully, this will work for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 12:25 PM
Then call this onDemand function in the condition of your Business Rule as shown in the image below;
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 10:44 AM
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
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 11:25 AM
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?