问题
Wondering if someone could give me a bit of help.
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.
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.
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.
Thanks in advance chaps
Antony
回答1:
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")
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.
来源:https://stackoverflow.com/questions/29366481/crm-2013-custom-action-plugin-not-firing