I want to add validation before Team entity deletion. In order to do that, I need to add Pre-validation plugin step for the Delete message and Team entity.
Nevertheless, when I'm trying to do it via the Plugin Registration Tool, I'm getting an error:
Invalid Entity Name
Invalid Primary Entity or Secondary Entity specified. Please re-enter the data.
Here is the data I'm filling in the Register New Step:
- Message: Delete
- Primary Entity: team
- Secondary Entity: none
- Run in User's Context: Calling User
- Execution Order: 1
- Eventing Pipeline Stage of Execution: Pre-validation
- Execution Mode: Synchronous
- Deployment: Server
I'm using Microsoft Dynamics CRM 2011.
I could not find any explanation for that. What I'm asking is:
- What is the reason for that?
- What is the intended way of applying custom validations during the deletion of the Team entity?