getEntityReference (Client API reference)

Applies to Dynamics 365 for Customer Engagement apps version 9.x

Returns a lookup value that references the record.


Return Value

Type: Lookup object.

Description: The returned object has following three attributes:

  • entityType: String. Logical name of the entity record. For example, "account".
  • id: String. GUID value of the entity record.
  • name: (Optional) String. Name of the entity record.