CRM 2013自定义操作插件未触发 [英] CRM 2013 Custom Action Plugin not firing

查看:89
本文介绍了CRM 2013自定义操作插件未触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想知道是否有人可以给我一些帮助。

Wondering if someone could give me a bit of help.

我正在尝试使用CRM 2013中的自定义操作,我所定义的是以下定义的自定义操作克隆。

I am trying to use custom actions from CRM 2013, what I have is a custom action "Clone" defined as below.

我有一个非常简单的克隆记录插件,可以克隆传入的目标实体并返回新实体作为输出参数。

I have a very simple clone record plugin that clones the passed in target entity and returns the new entity as an output parameter.

插件已注册到在自定义操作上触发,我的计划是从JavaScript触发此操作,但该插件从未触发过,因此暂时测试一下,我从另一个插件中触发了该操作。使用下面的代码。

The plugin is registered to fire on the Custom action, my plan was to fire this from JavaScript but the plugin never fired so for the time being to test I have been firing this from another plugin. Using the below code.

另一个插件会触发并执行对execute方法的调用,但另一个插件似乎从未触发,并且响应始终为null。

The other plugin fires and hits the call to the execute method but the other plugin never seems to fire and the response is always null.

如果有人有任何想法,我会错过什么,那会很棒。

If anyone has any ideas what I am missing that would be great.

在此先感谢

安东尼

推荐答案

我想到的就是您必须编写 OrganizationRequest( name_of_CustomAction )与写CA完全相同。( ..._ CLONE)

What just get in my mind is that you have to write your OrganizationRequest("name_of_CustomAction") exactly the same way as you have written named your CA ("..._CLONE")

您是否已尝试调试PLUGIN?使用插件注册工具来自微软。
如果您已经拥有此工具,请尝试完全像此 a>(分步指南如何调试您的插件。

Have you already tried debugging your PLUGIN ? Do that with the Plugin Registration Tool from Microsoft. If you've already got this tool just try doing it exactly like this(Step-By-Step Guide how to debug your plugin.

这篇关于CRM 2013自定义操作插件未触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆