If we want to call another plugin or action from plugin we can use this approach.
// Call std Copy action into plugin
OrganizationRequest request = new OrganizationRequest("std_Copystd");
request["Target"] = stdEntityReference;
OrganizationResponse response = localContext.OrganizationService.Execute(request);
string clonestdresultresult = (string)response.Results["Result"];
string ClonestdId = (string)response.Results["CloneId"];
Comments
Post a Comment