setEntityTypes (Client API reference)

Sets the types of entities 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 entities allowed in the lookup control.

getEntityTypes