PowerApps Component framework (PCF) Control that renders a lookup field as a dropdown
-
UPDATE 2022-01-20 : PLEASE USE v1.0.0.2 or above, a 🐛 was found in earlier versions
-
Blog posts :
-
https://itmustbecode.com/better-ux-with-a-lookup-dropdown-pcf-control/
-
https://itmustbecode.com/related-record-filtering-with-the-lookup-dropdown-pcf/
-
Download latest version here : https://github.com/drivardxrm/LookupDropdown.PCF/releases/latest
- Will honour the default view filtering and ordering that is set in the field properties of the form.
-
Show the record 'Primary Image' field.
-
Customize the records display text with text fields other than the 'Primary Name' field.
- Support for Related Record Filtering (cascading)
FluentUI : https://github.com/microsoft/fluentui
react-query : https://react-query.tanstack.com/
Parameter | Description | Default |
---|---|---|
lookupfield | REQUIRED: Bound Lookup field to render as dropdown | |
customtext | OPTIONAL: Customize display text with any text attributes of the record. put attribute schema names between brackets {}. Ex. {new_firstname} {new_lastname}. Leave blank to show record primaryname | |
customselecttext | OPTIONAL: Custom text for dropdown selector text (default = Select) | |
dependentlookupfield | OPTIONAL: Dependent Lookup field. Use when Related Records Filtering is set on the Field Properties | |
showRecordImage | Show the record image beside the text | false |
showOpenRecordButton | Show a button next to the dropdown to open the selected record form. | false |
You can install the component directly from solution files contained in the 'Release' section https://github.com/drivardxrm/LookupDropdown.PCF/releases/latest