We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

make New button visibile oon reference field lookup list view

DreDay3000
Tera Guru

Hello I would like to enable the New button to show in the list view when clicking a reference field to add a new value.

 

The list control currently has the following in the "omit new condition":

if(RP){
    var current_view = RP.getParameterValue("sysparm_view");
    if (current_view == "sys_ref_list")
        answer = true;
}
 
I would like to allow users with certain roles to access the button

 

0 REPLIES 0