did you try this code?
try { RetrieveEntityRequest request = new RetrieveEntityRequest { EntityFilters = EntityFilters.Attributes, LogicalName = 'contact' }; RetrieveEntityResponse response = (RetrieveEntityResponse) crmService.Execute(request); this.entityMetaData = response.EntityMetadata; } catch (Exception ex) { throw ex; }
Hi,
What is it you want to do.
To see which fields are available on contact you can open the customizations from Settings->customization->customize the system and then expand entities/contact/fields and you will have the list of fields on the contact entity.
Regards
Rickard Norström Developer CRM-Konsulterna http://www.crmkonsulterna.se Swedish Dynamics CRM Forum: http://www.crmforum.se My Blog: http://rickardnorstrom.blogspot.se
It seems you are trying to get contact entity metadata, refer this: https://msdn.microsoft.com/en-us/library/gg327860.aspx
Mahender | Our Blog "Make sure to click on 'Vote as Helpful' and 'Mark As Answer', if you get answer of your question