Hi,
I'm using C# presently to retrieve records from Microsoft CRM Online using the SDK, however I can't seem to get my head around the retrieve and update the record syntax.
I currently have the following which works perfectly for creating a new record and relating it to its parent.
var CRMService = CRMHelper.GetCRMService();
//instantiate the object
new_additionalphoto p = new new_additionalphoto();
p.new_Photo = new EntityReference("new_additionalphoto", new Guid(Request.QueryString["id"]));
p.new_Description = txtDescription.Text;
var Id = CRMService.Create(p);
But what I'm want to do now without creating the record is to retrieve a record based on the querystring (GUID) passed to the page and then update some fields and then re-save it.
I can't seem to understand the syntax of how I retrieve the record and associating the querystring to get the right record.
Any ideas would be greatly appreciated.
*This post is locked for comments