getEntityTypes (Client API reference)

Gets the types of tables allowed in the lookup control.

Note

Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.

Control types supported

Lookup control

Syntax

formContext.getControl(arg).getEntityTypes();

Return Value

Type: Array of String

Description: The logical names of the tables allowed in this control.

setEntityTypes