-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.UI.LookupForm
Maros Kolibas edited this page Nov 29, 2019
·
2 revisions
This object allows user to select an entity from a configurable list of entity types.
| Property | Type | Description |
|---|---|---|
| entities | Array | An array of allowed entity kinds (schema names). |
| allowedViews | String | OBSOLETE: Allowed views, or null if all are allowed. |
| source | MobileCRM.Relationship | The entity whose property will be set to the chosen value. |
| prevSelection | MobileCRM.Reference | The entity whose property will be set to the chosen value. |
| allowNull | Boolean | Whether to allow selecting no entity. |
| preventClose | Boolean | Whether to prevent closing form without choosing a value. |
| Method | Description |
|---|---|
| addEntityFilter | Defines a fetch XML filter for entity records. |
| addView | Appends an entity view to the list of allowed views. |
| show | Shows a dialog which allows the user to select an entity from a configurable list of entity types. |
| showAsync | Shows a dialog which allows the user to select an entity from a configurable list of entity types. |