How to change view for reference lookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2016 09:58 PM
Hi team,
On the incident form, when i click on caller reference lookup, we can create a new caller there. When i click on new, i want a different view to be displayed not the default view available for user table.
How do i create a new view for reference lookup?
Thanks in advance,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2016 10:02 PM
Hi Tony,
Please check section 2 here.
http://wiki.servicenow.com/index.php?title=Customizing_the_Reference_Icon#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2016 10:17 PM
Hi Tony,
For that you need to modify the reference table "sys_ref_list" view
Use below link to open the record in "sys_ref_list" view :
//your_inctance_name.service-now.com/reference_table_name.do?sysparm_view=sys_ref_list
See below images for your reference -
Then go to configure ---> form layout like below and modify accordingly.
~Paramveer Singh
~Senior Developer
PS - Please mark Helpful, Like, or Correct Answer if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2016 10:45 PM
thanks pradeep and paramveer.
In the Reference list view, i have password as mandatory. But now i want password to be non-mandatory in reference list view and email to be mandatory & unique. for that i wrote an onload client script.but it is not working.
Can you please tellme the changes to be made to amke it work as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2016 11:12 PM
Change client script type to "onload" instead of "onchange".
~Paramveer Singh
~Senior Developer
Please mark Helpful, Like, or Correct Answer if applicable.