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?
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.