locked
undelete entity record RRS feed

  • Question

  • Hi, I hope someone can help me.

    I have wrote a plug-in that execute on delete of a custom entity record by pressing the "X" button

     I check the status of that record, if it's closed then the user can't delete it

    if it's open he can.

     

    my question is how can I prevent the delete of that record from the pre stage .

    Moshe Spector

     

    Tuesday, September 2, 2008 12:34 PM

Answers

  • You should be able to prevent the delete by throwing an InvalidPluginExecutionException within a plug-in

     

    Tuesday, September 2, 2008 4:17 PM
    Moderator

All replies

  • You should be able to prevent the delete by throwing an InvalidPluginExecutionException within a plug-in

     

    Tuesday, September 2, 2008 4:17 PM
    Moderator
  • that's works, thanks

     

    Wednesday, September 3, 2008 7:15 AM