Wednesday, June 17, 2020

Trigger Custom Action using c#

// Calling the Action - new_EnquiryCreateProject
OrganizationRequest req = new OrganizationRequest("new_EnquiryCreateProject");
req["ProjectName"] = "This is a test operation for using Actions in CRM 2013 ";
req["Target"] = new EntityReference("new_enquiry", enquiryObj.Id);

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

No comments:

Post a Comment

How to hide Navigation and Command Bar's in Model Driven App ?

  Introduction: In this Blog we will see how to hide Navigation and Command Bar in Model Driven App. Implementation Steps: Navigate to  http...