Hi @Community Alums ,

 

If you Want to make Field ReadOnly in the List View  then ,

 

1) elevate your role as security_admin

2) create new list edit ACL on Your table and field as field_name

3) use advanced checkbox as true

4) admin overrides uncheck - means even admin cannot list edit

4) In the script Field type

 

answer = false;

 

 

Screenshot 2024-09-16 at 6.01.06 PM.png

 

Other way is With  OnCellEdit Client Script 

 

Client Script Details:

  • Name: OnCellEdit - Your Table
  • Table: Your Table
  • UI Type: All
  • Type: OnCellEdit
  • Field Name: your_field (select the appropriate field)

Screenshot 2024-09-16 at 5.54.36 PM.png

 

 

function onCellEdit(sysIDs, table, oldValues, newValue, callback) {
  var saveAndClose =true;
 //Type appropriate comment here, and begin script below
 saveAndClose =false;
 callback(saveAndClose); 
}

 

 

You can edit the record in the List view using the OnCellEdit Client Script, but it will not be updated on the server side.

If my answer is Helpful , please click the thumb icon and mark it as correct!

 

Thanks Regards
Badrinarayan