1 Reply Latest reply: Sep 18, 2012 11:39 AM by 938023 RSS

    Validation to Allow a Remove but not a Delete

    938023
      Hello,

      I have a hierarchy that allows Shared nodes. There is a Primary node under one parent and its Shared node under another parent. I would like to prevent the Primary node from being deleted (because that would also delete the Shared node). I only want to allow "Remove" to be done on the Primary node. How can I implement such validation?

      Thank you for your help!
        • 1. Re: Validation to Allow a Remove but not a Delete
          938023
          Actually I thought I found a different solution but ended up solving this one instead. "Remove Property Validation" class actually worked the way I wanted. It allows for a Remove but not a Delete. I used that class of validation once before to prevent a Remove. So this confuses me a little bit but.. it worked.