Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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