CRM 2011 Case Entity Metadata does not have a Note Attribute RRS feed

  • Question

  • Hey guyz, im using CRM 2011 API to create Cases in CRM from c#. In teh attributes of the case i did not find anything related to note which we can do manually in CRM.

    so i tried with the Description attribute and the case was created , but i cannot see where my description has gone. so im totally lost here.

    please can any one guide me how can i provide a note to a case from API and also where is the Description of the case visible?

    please help me guyz, 

    Thursday, September 13, 2012 9:09 AM


  • Notes or Annotations are their own entity in CRM - you'll need to create the object and and a reference to the entity that the Note is to be appended to. 

    var note = new Annotation()
         Subject = "Note subject...",
         NoteText = "Note Details....",
         Id = Guid.NewGuid(),
         // Associate the note to the record
         ObjectId = incident.ToEntityReference(),
         ObjectTypeCode = Incident.EntityLogicalName
     _annotationId = note.Id;

    You can see the whole example in the SDK: Sample: Use the Organization Service Context

    Jason Lattimer

    • Marked as answer by SyedHaroon Monday, September 24, 2012 12:35 PM
    Thursday, September 13, 2012 3:27 PM