getEntityReference (Client API reference)
Returns a lookup value that references the record.
Syntax
formContext.data.entity.getEntityReference();
Note
Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.
Return Value
Type: Lookup object.
Description: The returned object has following three parameters:
- entityType: String. Logical name of the table record. For example, "account".
- id: String. GUID value of the table record.
- name: (Optional) String. Name of the table record.