Question

I have a plugin registered in Pre-Validation to be able to retrive some other data during the delete operation as Pre-Operation will diassociate the record from others and does NOT return any data. The problem is the Plugin is NOT triggering when I delete it from a subgrid of its parent. Any idea why?

Was it helpful?

Solution

The problem was actually in my code as I am using Developer toolkit I changed the registration from Pre-Operation to Pre-Validation and forgot to change the code from 20 to 10 as shown below: base.RegisteredEvents.Add(new Tuple<int, string, string, Action<LocalPluginContext>>(20, "Delete", "Contact", new Action<LocalPluginContext>

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top