سؤال

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?

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top