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.

In the List View i want editable acesses only one field remaing all are not editable .

ParthasaradP
Mega Contributor

I write code on onCellEdit but not working i will give my code the next line

function onCellEdit(sysIDs, table, oldValues, newValue, callback) {
  var saveAndClose =true;

  var editedfield=g_list.getColumnName();
  var allowField="u_item_type";
   if(allowField == editedfield){
    saveAndClose=true;
   }
   else{
    saveAndClose=false;
   }
 
 callback(saveAndClose);
} pls check the code and any errors are any modifications pls update and also trying ACLs also but notworking
 
0 REPLIES 0