Domanda

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?

È stato utile?

Soluzione

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>

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top