简体   繁体   中英

Assembly(Plugin) is not triggering on web roles (custom entity) update in contact entity Dynamics 365 CRM

I have a custom entity Web Role in dynamics 365 and it's integrated with the contact entity to assign web roles to each contact. you can see how web role is used in contact in the below image.

在此处输入图像描述

And Web Role entity has N:N relationships as given in below image.

在此处输入图像描述

I have created an Assembly(Plugin) using the plugin registration tool (see step config in below image) which is calling third-party API when we update a contact in dynamics 365 and it's working fine on an update of any data of contact except Web role. if we add/remove web role of contact and save, the assembly is not actioning.

在此处输入图像描述

So please help me, what should I need to do to call plugin on web role update in dynamics 365 contact.

Thank You.

You have the trigger wrong. As Webrole and Contact has N:N relationship, The Trigger is Associate and dessociate.

Take a look at this MS document

Also this article shall be helpful

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM