The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to restrict auto search for reference fields in UI page

Ksnow
Tera Contributor

Hello @Ankur Bawiskar @Amit Gujarathi 

 

I am facing the issue with reference fields in UI page, I had written the logic to filter the records in the reference fields based on another field selection which is working fine only when we click on the magnifier and search for the records.

In general, we can search with any records which is irrelevant still it shows the record and it's a mess.

 

For example: I have filtered the records to show in field B based on field selection. Meaning that only A related records to be shown in B like Test1, Test2 & Test3 but unfortunately when I trying to auto search with other name like Demo or something else it shows up and can submit the page with wrong info.

 

How to restrict the auto search if correct record is not being entered?

 

Appreciate your help! Thanks in advance.

 

Best regards

 

5 REPLIES 5

@Ksnow 

I don't think so.

you can disable auto search but it's via system property and will impact all reference fields in instance, but not sure if it works with reference fields in UI page as well

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader