/LookupDropdown.PCF

PCF Control that renders a lookup field as a dropdown

Primary LanguageTypeScriptMIT LicenseMIT

LookupDropdown.PCF GitHub all releases

PowerApps Component framework (PCF) Control that renders a lookup field as a dropdown

Features:

  • Will honour the default view filtering and ordering that is set in the field properties of the form.

image

  • Show the record 'Primary Image' field.

  • Customize the records display text with text fields other than the 'Primary Name' field.

image

image

  • Support for Related Record Filtering (cascading)

lookupdropdown-dependant2

Dependencies

FluentUI : https://github.com/microsoft/fluentui

react-query : https://react-query.tanstack.com/

Parameters

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

Screenshots

lookupdropdown

Installation

You can install the component directly from solution files contained in the 'Release' section https://github.com/drivardxrm/LookupDropdown.PCF/releases/latest