Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to trigger plugin in MS Dynamic CRM on N:N relationships?

I want trigger MS Dynamic CRM plugin in N:N(many to many) relationships?

When user add or remove row from N:N relationship, then exposed my plugin.

It's possible, and how if it's?

like image 463
valch Avatar asked Feb 17 '12 11:02

valch


2 Answers

Yes, it's possible. Depends on your CRM version. General idea is registering plugin for Associate/Disassociate events. For CRM 4.0 it is described here. How to do this in CRM 2011 you can read here.

like image 145
paramosh Avatar answered Sep 30 '22 00:09

paramosh


You can do it. By Using Associate and Disassociate messages in Plugin Registration Tool. if you want to add a record in any entity by using N:N Relationship the message should be Associate, primary/secondary entities should be set it as null then it will fire and for removing a record you can do by using Disassociate message.

like image 29
Srinivas Hsk Avatar answered Sep 30 '22 00:09

Srinivas Hsk