Associate Dissociate Plugin not Firing in Custom N to N Relation CRM 2013 RRS feed

  • Question

  • Hi , 

    I have a custom entity with N to N relation ship, in that entity on record create and delete (Associate / Dissociate ) i am writing a plugin to get fired. 

    but my plugin is not getting fired.  after that i refered SDK message support , for custom entity plugin wont support. 

    can u please confirm , will Associate / Dissociate  wont fire for custom entity . 


    Tuesday, December 16, 2014 8:24 PM

All replies

  • Associate and Disassociate do fire for custom relationships. As these message apply to N to N relationships, they are not associated with a Primary Entity - a plugin registered on the Associate message will fire for an Associate message on any N to N relationship, and your plugin code will need to check the RelationshipName InputParameter to see if it is relevant to the right relationship(s)

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, December 16, 2014 9:29 PM