Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Finding the ID of an Entity Instance

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

When you use SDK methods or messages such as Update, you must know the ID of the entity instance (record). Every entity has a unique identifier, or GUID. There are several ways to obtain the ID of the entity instance being shown in a detail form of the Microsoft Dynamics CRM application. You must select the one appropriate to the type of code you are developing.

In this Section

Finding the ID from ASP.NET Code

Contains sample code that shows how to find the ID of an entity instance from ASP.NET code.

Finding the ID Using QueryExpression

Contains sample code that shows how to find the ID of an entity instance using QueryExpression.

Finding the ID Using Filtered Views

Contains sample code that shows how to find the ID of an entity instance using filtered views.

Finding the ID Using Fetch

Contains sample code that shows how to find the ID of an entity instance using the Fetch query language.


© 2010 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.