cancel
Showing results for 
Search instead for 
Did you mean: 

disable the delete function of a collection

tom_seminckx
Employee
Employee
0 Kudos

Hi all,

Does anybody has an idea how the delete icon of a collection could be disabled? I am using a collection as some kind of change history list, so it would be useful that nobody could change this.

best regards,

Tom

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tom,

If you lock a particular row in a collection then the delete icon becomes disabled.

You can use IapiDocumentLockManager APIs to achieve this. The best approach would be to write a script at load of the corresponding document. This script should iterate over all the rows of the collection and lock each one individually.

Have a look at Vikram's reply in [this|; thread for the code.

Thanks

Devesh

Answers (0)