locked
CRM 2013 Custom Action Plugin not firing RRS feed

  • Question

  • Hi Chaps, 

    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 is 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 however, the plugin never runs. 


                // Calling the Action - new_EnquiryCreateProject
                OrganizationRequest req = new OrganizationRequest("publisher_Clone");
                var r = new EntityReference("account",target.Id);
                req["Target"] =r;


                //execute the request
                OrganizationResponse response = localContext.OrganizationService.Execute(req);

    If anyone has any suggestions, it would be great to hear from you. 

    Thanks in Advance

    Tuesday, March 31, 2015 9:06 AM