Posts Tagged ‘CrmService’

Create record using JScript This sample shows how to use the CrmService.Create method using the same example provided in the Server Programming Guide: CrmService.Create method. To test this sample: Paste the following code into any Event Detail Properties dialog box. Save the form and then click Create Form on the Preview menu. When the event [...]

// Deletes the Contact // The EntityName indicates the // EntityType of the Object being deleted. service.Delete(EntityName.contact.ToString(), myContact.contactid);