Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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