tag:blogger.com,1999:blog-6219433289953940233.post6768559929970865101..comments2022-03-26T12:38:18.284+02:00Comments on Dynamics CRM Development: CRM 2011 field names as constantsAnton Paramoshhttp://www.blogger.com/profile/08912488690536609566noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6219433289953940233.post-10067916501437150432013-10-01T09:21:46.197+03:002013-10-01T09:21:46.197+03:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/12566205758456314569noreply@blogger.comtag:blogger.com,1999:blog-6219433289953940233.post-24185259721174381312011-04-13T10:28:31.680+03:002011-04-13T10:28:31.680+03:00Variable 'guid' is 'id' of existin...Variable 'guid' is 'id' of existing in the CRM database entity instance. For 'contact' entity it should be 'contactid'. For testing you could extract it from URL of contact form.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6219433289953940233.post-90719795390127007392011-04-12T21:02:59.897+03:002011-04-12T21:02:59.897+03:00Contact theContact = service.Retrieve(Contact.Enti...Contact theContact = service.Retrieve(Contact.EntityLogicalName, guid, new Microsoft.Xrm.Sdk.Query.ColumnSet(CustomEntities.Contact.EMailAddress1)).ToEntity(); <br /><br />What is "guid" used for? When i try to run this code i get an error: "Expected non-empty Guid."Unknownhttps://www.blogger.com/profile/00795837249481594151noreply@blogger.com