Retrieve Entity Record with Retrieve Request and ColumnSet In MS CRM With C#

Microsoft CRM Jan 20, 2017

Often it is necessary to retrieve an entity or a specific column of an entity with an organization service execute request (retrieve request). With this Request you’ll retrieve the actual database value of that entity record. But you also have to know the actual Id of that record.

With the ColumnSet you can definde which columns you want to retrieve. By setting the ColumnSet to true all columns will be returned.

Contact contact = (Contact)organizationservice.Retrieve(Contact.EntityLogicalName, contactId, new ColumnSet(true));

Learn more about this on MSDN.


Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.