Fixed query for left navigation

Set a query for navigation module, so user is not able to modify it

CC0 Paris Musées / Musée Carnavalet

This article will tell you about the posibility of setting fixed filter parameters for navigarion module. User is not able bypass such filter.

Goal

Click on “Assigned to me” module from left navigation should only show active incidents opened today. User may add additional filters, but not able to reset initial ones.

Solution

Go to System Definition > Modules and create a new record. Adding &sysparm_fixed_query= in Arguments field will do the trick.

Configure module as follows:

Fixed query - config

This should result into following breadcrumbs when calling the module. See first breadcrumbs are readonly.

Fixed query - breadcrumbs

Compare solution with a standard module configuration:

Standard query - config

All breadcrumbs are clickable:

Standard query - breadcrumbs
Andre Kosak
ServiceNow Developer, Freelancer

Develop whatever!

comments powered by Disqus

Related