8

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?

valch
  • 577
  • 2
  • 7
  • 17

2 Answers2

10

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.

shytikov
  • 9,155
  • 8
  • 56
  • 103
paramosh
  • 2,258
  • 1
  • 15
  • 23
1

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.

Srinivas Hsk
  • 388
  • 3
  • 17