- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 12:00 PM
Hi
Is it possible to filter the search result in a reference field, say for example if a project field is referenced in a table like
can i filter the results when i click on the search icon as shown in the screen shot above?
Regards
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 12:36 PM
Hi John,
Yes, you can do that quite easily! Reference fields can use what's called "Reference qualifier" to filter records on the table they reference. By default, you get all the records. If you want to filter them, you can do that quite easily using a reference qualifier. They range from simple (no scripting required) to more advanced (scripted.)
Go to the dictionary entry for that field and note the "Reference specification" section.
Here's an example of a reference qualifier on a table to simply take the Active records of the User table.
Reference: Reference Qualifiers - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 12:36 PM
Hi John,
Yes, you can do that quite easily! Reference fields can use what's called "Reference qualifier" to filter records on the table they reference. By default, you get all the records. If you want to filter them, you can do that quite easily using a reference qualifier. They range from simple (no scripting required) to more advanced (scripted.)
Go to the dictionary entry for that field and note the "Reference specification" section.
Here's an example of a reference qualifier on a table to simply take the Active records of the User table.
Reference: Reference Qualifiers - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 01:23 PM
Thanks alot for your time, got this working can you guide how to show/hide columns in it...
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 01:26 PM
Hi John,
Please follow below link for more info on how to customize reference popup view.
Customizing the Reference Icon - ServiceNow Wiki
Please let us know if you have any questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 01:37 PM
Thanks Pradeep,
i need to show hide the column when popup appears by clicking on the look up icon of reference field, how can i do that
Regards