Restrict Bulk update in list view

Saurabh Kolte
Kilo Contributor

Hello I want to restrict bulk update of one field in list view. But I want to allow users to update only one record in list view at a time. If he/she uses to update multiple records in list view it should not be allowed. Can somebody please help in this issue.

Thanks,

Saurabh

1 ACCEPTED SOLUTION

Dominik Simunek
Tera Guru

That's really interesting requirement. You have to allow list editing by having list-edit ACLs returning true - otherwise users won't be able to update field values in list. However in those ACLs you don't know if it is being updated as part of multiple records or not as you still have just "current" object. One work-around could be to use "onCellEdit" client scripts where you could check if there is only one (then allow) or more sysIDs (then restrict) selected (Client script types ). The problem is that this is not real security as it could be avoided - it checks only on client, not server side. So it depends how critical it is to restrict it or if it is more just user guidance to avoid mistakes using list editing.


View solution in original post

5 REPLIES 5

kerwin63
Kilo Contributor

Hello.

I am looking to do something similar. I want to allow multi edit on many rows but nothing I do seems to work. I can edit one record at a time but not multiple records. I get this "Only one derived field can be list edited at a time". This is a related list in transfer orders form for the transfer order lines. 

Any pointer ? 

 

Thanks