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

2

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?

Caridadcarie answered 17/2, 2012 at 11:38 Comment(0)
D
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.

Dyke answered 17/2, 2012 at 13:6 Comment(0)
J
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.

Jarmon answered 10/7, 2014 at 7:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.