MultiLookup type
Importante
The finance and operations (Dynamics 365) mobile app and platform are no longer supported. The platform components supporting the mobile app will be removed in a future update. The mobile app has also been removed from app stores. Previously installed instances of the app will continue to work. For more information, see Removed or deprecated platform features.
Multi-Lookup control type. Multi-Lookup controls are similar to regular lookups except they allow multiple selections at once.
InputControl
└─ MultiLookup
container: boolean (optional)
True if the control is a container.
generic: boolean (optional)
getDataSource: function(): any
Inherited from Control.getDataSource
getEntityRefs: function(): string [ ] | number [ ]
hidden: boolean
True if the control is hidden.
setEntityRefs: function(ids: string [ ] | number [ ]): Promise <any>
applyDesign(IDesign: MultiLookupDesign): void
Applies given design to the design on the control. If a design already exists, the prototype chain of the design will be preserved.
Overrides Control.applyDesign
Name | Type | Description |
---|---|---|
IDesign | MultiLookupDesign | object containing design properties as keys |
dataContext(): any
Inherited from Control.dataContext
getDesign(): Design
Returns the design object of this control.
Returns Design
getLookupPage(): Page
Returns Page
isEditable(): boolean
Boolean indicating if the control is editable. Returns false when either the control or its parent is not editable. Returns true when both the control and its parent are editable. Returns true when either the control or its parent is editable and the other is undefined. Returns undefined if both the control's edit-ability and its parent's edit-ability is undefined.
Inherited from Control.isEditable
metadata(): MultiLookupMetadata
Returns the metadata object of this control.
Overrides InputControl.metadata
Returns MultiLookupMetadata
Returns the parent (control or page) of this control.
root(): Page
Returns the root form instance (page) of this control.
Returns Page
onDataChanged: EventHook <null>
An event that is triggered when the input control's data changes.
Inherited from InputControl.onDataChanged