Recent Selections on Reference Field question

erik_brostrom
Mega Guru

Has anyone been able to figure out how to limit the amount of "Recent Selections" that show up for a reference field?


I've been looking through the wiki / on the community to see if there is any information on this and there is not much out there.

Any suggestions would be much appreciated!

1 ACCEPTED SOLUTION

Vaughn Romero
ServiceNow Employee
ServiceNow Employee

Erik,



I added a new section to the Reference Fields wiki page to address this question among others. The system property that controls the number of recent selection entries is glide.xmlhttp.max_choices. Please see http://wiki.servicenow.com/?title=Reference_Fields#Recent_Selections for more details.


View solution in original post

10 REPLIES 10

sebastian_g_snc
ServiceNow Employee
ServiceNow Employee

If you want to prevent recent choices for a reference field completely you can create a Business Rule, before insert, on sys_ui_recent_selection for a specific field and set the "abort action" checkbox to true.


This will prevent the system from adding any recent choices for that field.


You might still have to delete the records that are already in that table sys_ui_recent_selection for that field, of course.