@spartanfx/react v1.2.2
@spartanfx/react / codeapps / ICADataverseLookupSource
Interface: ICADataverseLookupSource
How to search the referenced table behind a Dataverse lookup column, so the
form can populate the lookup's option list. Because Power Apps Code Apps
generates one service per table, the owning form's service cannot query the
referenced table — its generated service must be supplied here.
Properties
Required
| Property | Type | Description |
|---|
service | ICATabularService<Record<string, unknown>> | Generated service for the referenced table (e.g. SystemUsersService), queried via getAll to list/search options. |
Options
| Property | Type | Description |
|---|
idColumn? | string | Referenced-table primary key column used as the option id. Defaults to <targetEntity>id (e.g. systemuserid), then falls back to the first GUID-valued column on the row. |
labelColumn? | string | Referenced-table display column used as the option label and as the server-side $filter search target. When omitted, the label falls back to common name columns (name, fullname, title, …) and search is applied client-side. |
searchColumns? | string[] | Columns to search with contains(). Defaults to [labelColumn] when a labelColumn is set; otherwise search is performed client-side. |
top? | number | Max rows fetched per search (default 50). |