Hi,
My customizations are like this.
I use PhoneCall, when PhoneCall is Succeeded a new record in the Custom Entity gets created.
At the same time if any attachments attached to PhoneCall has to get attached to the new record which got created.
For this i found that if we update the ObjectId in Annotation Entity with the Created recordId attachments gets attached to the record.
My code to Update ObjectId in Annotation Entity throws an error "server was unable to process request"
Please find the code below:
// Create the annotation object.annotation an = newannotation();// Set the annotation ObjectId to created recordIdLookup objectID = newLookup();objectID.Value =
newGuid("213F6990-9770-DF11-8983-00155D01D806");an.objectid = objectID;
// The aannotationId is a key that reference Id of the annotation to be updated.an.annotationid = newKey();// The annotationid.Value is the GUID of the record to be changed.an.annotationid.Value = newGuid(Anotationid);// Update the annotation.try{
service.Update(an);
}
catch (System.Web.Services.Protocols.SoapException ex){
Suggest me where i am missing.
Regards
Prashanth Y