on 10-13-2011 4:02 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.