Vinny

Protecting Viewed Records

Discussion created by Vinny on Feb 23, 2017
Latest reply on Feb 24, 2017 by siplus

If I am a layout viewing a record (a customer record for example), I want to protect it from being deleted by another user.

 

I don't want to open the record, because then it will update it's modified timestamp.

 

The main reason is that I don't know how to handle the case where one user is "viewing" a customer record, and another user deletes that record.

 

I would like for other users to be prevented from deletion as long as another user is viewing the record.  The same goes for when a user is viewing a child record of the customer (i.e. contacts) - I don't want a user to be able to delete a customer if another user is viewing a contact record of that customer.

 

Please let me know if you have any ideas for this.


Thanks!

Outcomes