setEntityTypes (Client API reference)

Sets the types of tables allowed in the lookup control.

Control types supported

Lookup control

Syntax

formContext.getControl(arg).setEntityTypes([entityLogicalNames]);

Parameter

Name Type Required Description
entityLogicalNames Array of String Yes Specify the logical name of the tables allowed in the lookup control.

getEntityTypes