locked
Is Delete message not supported on Team entity for use with CRM 2011 Plug-in? RRS feed

  • Question

  • Hi All, I would need to perform a business operation on deletion of a Team in CRM 2011, but Delete message is not supported on Team entity. Has someone registered a Delete plug-in on Team using Registration Tool for CRM 2011?

    Thanks


    • Edited by P Dandawate Friday, January 6, 2012 4:33 PM
    Friday, January 6, 2012 4:02 PM

Answers

  • A quick update on the resolution of this limitation.

    According to the new design proposal (acceptable to my client!), a custom entity is created that piggy-backs as a child entity to the Team record. Two plug-ins are created, one that automatically creates the child entity with a reference to the Team and the second plugin will fire on the Delete message for the custom entity (Pre-Operation).

    The idea is due to the Parental relationship between Team and the custom entity, CRM Framework sends Delete message to the custom entity (child entity) whenever a Team is deleted in CRM. The delete plug-in can then complete the required business process.

    Hope this design solution may be useful to someone who is stuck with the current limitation i.e. non-availability of the Delete message for Team entity.

    Regards

    • Marked as answer by P Dandawate Thursday, January 12, 2012 9:52 AM
    Wednesday, January 11, 2012 2:17 PM

All replies

  • Interesting that it isn't supported for plugins. I'm not sure what your business operation is, but you could add a workflow to the team entity and set it to start when record is deleted.

    Rob


    Microsoft Certified Technology Specialist (CRM) GAP Consulting Ltd Microsoft Community Contributor Award 2011
    Friday, January 6, 2012 10:47 PM
    Answerer
  • Glad someone responded! Thanks Rob, but the customer is averse to async operation.

    Any other ideas?

    Many Thanks

     

    Monday, January 9, 2012 9:51 AM
  • A quick update on the resolution of this limitation.

    According to the new design proposal (acceptable to my client!), a custom entity is created that piggy-backs as a child entity to the Team record. Two plug-ins are created, one that automatically creates the child entity with a reference to the Team and the second plugin will fire on the Delete message for the custom entity (Pre-Operation).

    The idea is due to the Parental relationship between Team and the custom entity, CRM Framework sends Delete message to the custom entity (child entity) whenever a Team is deleted in CRM. The delete plug-in can then complete the required business process.

    Hope this design solution may be useful to someone who is stuck with the current limitation i.e. non-availability of the Delete message for Team entity.

    Regards

    • Marked as answer by P Dandawate Thursday, January 12, 2012 9:52 AM
    Wednesday, January 11, 2012 2:17 PM