简体   繁体   English

在 Microsoft Dynamics 365 的营销列表中执行插件

[英]Execute a plugin in Marketing List in Microsoft Dynamics 365

When someone add multiples members (contacts, account, etc) to the Marketing List (entity name "list") I need execute a plugin.当有人将多个成员(联系人、帐户等)添加到营销列表(实体名称“列表”)时,我需要执行一个插件。 Now, I register the plugin with the "Plugin Registration Tool" on this messages (with entity "none") and I got:现在,我在此消息上使用“插件注册工具”注册插件(实体为“无”),我得到:

  • Message: AddListMembers : Don't execute.消息: AddListMembers :不要执行。 In this, I set entity "list" too, but nothing change.在这里,我也设置了实体“列表”,但没有任何变化。

  • Message: AddListMember : Don't execute.消息: AddListMember :不要执行。

  • Message: AddMember : Executed two times (I add two contact in one time).消息: AddMember :执行两次(我一次添加了两个联系人)。 Almost!!几乎!!

  • Message: AddMembers : Don't execute.消息: AddMembers :不要执行。

  • Message: Update : Don't execute.消息:更新:不执行。

  • Message: Associate : Don't execute.消息:关联:不要执行。

How I can known what message is the correct or what is the name for the correct message?我如何知道正确的消息或正确消息的名称是什么?

Guido's answer in the Dynamics community forum clearly explains what we need to know: Guido 在 Dynamics 社区论坛中的回答清楚地解释了我们需要知道的内容:

AddMember is called when a single record is added to the marketing list AddMember 在将单个记录添加到营销列表时调用

AddListMembers is called when multiple records are added to the marketing list AddListMembers 在多条记录添加到营销列表时调用

PLEASE NOTE that when you add members to a marketing list using certain ways (for example using advanced find query if I remember correctly) that message is not triggered.请注意,当您使用某些方式(例如,如果我没记错的话,使用高级查找查询)将成员添加到营销列表时,不会触发该消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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