-
-
Notifications
You must be signed in to change notification settings - Fork 14
Lookdown
Lookdown is a simplified way to reference data in a table in Model Driven App. The OOTB Lookup control requires users to type or click the search icon to open the dropdown list. Lookdown control saves users a click by opening a dropdown list right away. Hence it's best to use for simple reference/configuration table lookup. It also provides advanced features such as dynamic filter, grouping, and showing option icon.
![lookdown component screenshot](https://private-user-images.githubusercontent.com/8686497/366185523-cfefd5e6-fc6d-48c4-94a1-7e1f21922f18.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzM2NjE4NTUyMy1jZmVmZDVlNi1mYzZkLTQ4YzQtOTRhMS03ZTFmMjE5MjJmMTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmRiOWE0Y2Q1YmQzYmViNDcxNzRlNzk4ZDg0ZTFjOTUwM2NjZDQzM2M3MDYwMjMxNzM1YzEwZTUxN2MxMmZmZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.b0WbfmSdnew463s3DgxJ_-8kSbjZuYQyXNmEAWdJgNk)
- 1-click dropdown
- Clean design
- Minimal configuration
- Options grouping
- Option icon with entity icon or record image
- Dynamic filtering
- Dynamic display text
- Advanced commands
![component properties](https://private-user-images.githubusercontent.com/8686497/270178581-f84afc67-93ec-4d64-9f1a-7448af15ee11.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3ODU4MS1mODRhZmM2Ny05M2VjLTRkNjQtOWYxYS03NDQ4YWYxNWVlMTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTk3ZGIxZDI5YTliZWEyYjYxYzlhMGE1NGUyNmMxOTY2MmE4OGQ5MzNiODE1NTYyNDViZjhjZmQ4MGNlZTVkMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.aAVI7ragpSefW2BTOnLAb9U08rKOpYNkCnW2HRu0w04)
Property | Usage | Type | Description |
---|---|---|---|
Lookup Field* | bound | Lookup | The lookup field that the component is bound to |
Custom Filter | input | Single Line Text Multiple Lines Text |
Additional filter to be added to the Lookup view. Custom filter should be serialized as a FetchXML <filter> node. |
Group By Field | input | Single Line Text | The logical name of the column form the lookup table that is used to group the options |
Option Display Template | input | Single Line Text | Dynamic template to display option text. |
Selected Option Display Template | input | Single Line Text | Dynamic template to display selected option text. Default to option text if not provided. |
Show Icon | input | Enum None Use Entity Icon Use Record Image
|
Whether to show an icon in option item. Default: None |
Icon Size | input | Enum Normal Large
|
Icon size applicable when showing icon. Default: Normal |
Open Record Command | input | Enum No Inline Dialog
|
Show command button to open the lookup record. Default: No. |
Quick Create Command | input | Enum Yes No
|
Show command to quick create new option. Default: No. |
Lookup Panel Command | input | Enum Yes No
|
Show command to open the Lookup Panel. Default: No. |
Language Pack Path | input | Single Line Text | Path to a resx web resource, relative to the environment url (eg. /webresources/new_/resx/Lookdown.1033.resx), to be used as Language Pack. Default to English if not provided. |
** is a required prop
![simple dropdown](https://private-user-images.githubusercontent.com/8686497/270178736-e8c46390-7308-438d-8549-995fe49245cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3ODczNi1lOGM0NjM5MC03MzA4LTQzOGQtODU0OS05OTVmZTQ5MjQ1Y2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjNlNmI2YjA3ZDY2YThjMjkxOGI3ZTZjZjg2ZTg2Mzg3OWI0NTcwNWI5ZjdhMTUyNmFmN2EyZTMwNDcwOGM2OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.6LdcgRyq8zA0ZyNkNattX62uysySUgPuqGsjpmm0_Qc)
Show options as a normal dropdown. Data is retrieved from a view selected in the lookup field properties. The view definition will be used to sort and filter the dropdown list. If no view or more than one views are selected, the OOTB Lookup view will be used to retrieve data.
![lookup view](https://private-user-images.githubusercontent.com/8686497/270195071-33b54835-a904-4def-94c7-fd501749e06b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE5NTA3MS0zM2I1NDgzNS1hOTA0LTRkZWYtOTRjNy1mZDUwMTc0OWUwNmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTg1OGM3OGIwMDIyOTEzNDdmZmJlYzNiMzJiNGRhM2U0ZDRhNDM2MmEyYzNmZTZlOWIxNjk4MzZkODY2MTNlOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ._KPsO0_PL9yGgNiRdp4JBl2CrBFprwxRugdTMKPnMgA)
📝 Note: There is no paging when loading data. The component will only load maximum 5000 records. This should be enough for most configuration/reference data table cases.
![lookdown grouping](https://private-user-images.githubusercontent.com/8686497/270178907-59d8182a-8c79-41b6-98db-951b66365d1b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3ODkwNy01OWQ4MTgyYS04Yzc5LTQxYjYtOThkYi05NTFiNjYzNjVkMWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2Y2OTBiNzRhMjc5OTc0ZTBlYTc4MGVkNTRlZDNhMGFjMTAyNGFmYjZlZDdmZDM1MDJhNTdlMjhkNGNiNzQzZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.IrKQTdwjmRkroK_XyHxPk2dWWRgxYmOQb8zPNxWFH0Q)
Grouping can be done by specifying a column in the lookup table to be used as group header.
📝 Note: The component does not attempt to order the groups. The groups are presented on a 'first come, first served' basis. For example if grouping by country, and the first row is for country 'Ireland', then the first displayed group will be 'Ireland'.
![lookdown option table icon](https://private-user-images.githubusercontent.com/8686497/270179130-44663fd9-d314-47cc-abd5-f484bebf109f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3OTEzMC00NDY2M2ZkOS1kMzE0LTQ3Y2MtYWJkNS1mNDg0YmViZjEwOWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzMwNDQ4OWQwYzU0YTBlYWU5NmI0MTU1YmYxNGM0ZDVhYmFhZDhkMTc3Y2U0NWEzMTZkY2QzOTkwYzM5NzkwYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.hluKVzKHBbxWlsYEkKp6tmbGcqOUZp44dcBPhhrsbow)
If showing table icon, the Modern Image (.svg) will be used preferably if exists, otherwise if icon size is set to Large, 32x32 icon will be used if exists, else 16x16 icon will be used.
![look down option record icon](https://private-user-images.githubusercontent.com/8686497/270179255-5d308c1a-7c89-4f09-8122-c5cc2c622ceb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3OTI1NS01ZDMwOGMxYS03Yzg5LTRmMDktODEyMi1jNWNjMmM2MjJjZWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZWM0YWRiNDI4NjU0YjBjYTBiNDY4YWZmNGJkOGQwYzVlNzc0MjY2NTExM2E0N2M0ZmJkNmYzMzA2MGZlYTAyNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.83vVJFACEvPvPJ4hbUwUXa_JeHg7P7Ai7F2lN8t6FkM)
The control will use the image from the Primary Image Attribute configured in the lookup table.
![look down option record icon](https://private-user-images.githubusercontent.com/8686497/270195807-170dab21-dbdc-45fc-97af-7b4b3257ba4a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE5NTgwNy0xNzBkYWIyMS1kYmRjLTQ1ZmMtOTdhZi03YjRiMzI1N2JhNGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDYzZDdlY2YzMDlmNjQ4Yzg1ZWRhNWVkODIwZGQ2ZjdiYTU0NDdlZWY1NjNiMzYyMDgyZTE2YjRjMTg5ZjdhZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.TN4sYRCnG7ZRkYaQPiNpLdwsnlCcymSbJpgbsMQ-zNo)
![large icon](https://private-user-images.githubusercontent.com/8686497/270179383-2e9a6a78-34fa-44d3-a1cd-4d68fb049a95.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3OTM4My0yZTlhNmE3OC0zNGZhLTQ0ZDMtYTFjZC00ZDY4ZmIwNDlhOTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWU0NzhlMWEyYTc1YWM1MzRjNDgyYzY2NGIzNDM3MWJmMjlkMWFjNmE1NWI5ZWFkNTNkNGI1OWE5NzRjMGUzMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.yFBca48F4IihaNYfxSGaNup_f0EzVLEykvws5nGK6QM)
When you want to filter data dynamically or depend on other fields on the form, you can use templating tokens to insert data to view filter dynamically.
Templating token syntax: {{ field_logical_name_on_form }}
With complex values such as a Lookup field, you can access its id or name using {{ lookup_field.id }}
or {{ lookup_field.name }}
Templating tokens can be used in both Lookup View filter and Custom Filter property
❗ Important: the fields you want to insert to the Lookup View must be available on the form, either visible or invisible
![view filter](https://private-user-images.githubusercontent.com/8686497/270196218-0dca33de-5c8f-4f7e-bbc8-f69887285a67.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE5NjIxOC0wZGNhMzNkZS01YzhmLTRmN2UtYmJjOC1mNjk4ODcyODVhNjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmMyNGFhNGFhNWY5OTgzYTliMTc5ODliYWIyYmEzOTY5ZDgyZjczYzYxZTZmNzFlZDQzMmZkNWExMDhhYzFjMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.p0_6ildP4TYNeJ0agDYnjWG6dmEB-kcU4SIVO-E4zgA)
The sample filter above shows how dynamic tokens can be inserted. The view is filtered for all counties with province value matching address line 3 or address line 4 on the Student form.
It's better to create an additional view to be used in the lookdown component so it won't affect other views. Because if users open a view with templating tokens directly, it will just show an empty view as tokens are treated as normal text values.
If you don't want empty views or want to reuse existing views and want to add a custom filter, you can use Custom Filter
prop below.
![custom filter prop](https://private-user-images.githubusercontent.com/8686497/270179478-e857c3a5-60b8-4c09-81e1-b9e78d6717f5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3OTQ3OC1lODU3YzNhNS02MGI4LTRjMDktODFlMS1iOWU3OGQ2NzE3ZjUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGFjNWM0MWNlODUxNjk1YWQ1NTE4YmUyYjA2MjY2ZDU3OWRkZWE0N2RlZTBhZWQyZjc5ZTljYTY2OWI2OGI0ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xl16Y01CCPNpfG1DP-um-fpDXmyVlRZvNa6MMdQdKGE)
sample custom filter in the screenshot above:
<filter><condition attribute="storm_provincecode" operator="eq" value="{{ storm_provincecode }}"/></filter>
This adds an additional condition to filter for all counties that have the same province as the province field on the form.
You can add your custom filter node with templating tokens in the custom filter property of the component as a static text.
Or you can bind the custom filter property to a hidden field on the form, then use form script to populate the hidden field with a custom filter dynamically, the filter can even contain templating tokens if you want.
![custom filter prop](https://private-user-images.githubusercontent.com/8686497/270179617-8f42a60b-626f-49f3-a36a-35d02536e42f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MTcwODksIm5iZiI6MTczODgxNjc4OSwicGF0aCI6Ii84Njg2NDk3LzI3MDE3OTYxNy04ZjQyYTYwYi02MjZmLTQ5ZjMtYTM2YS0zNWQwMjUzNmU0MmYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDZUMDQzOTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODhmMDZlOTc5MzRmYmE5ODg5Yzk2MGFlNzFkMGUzMWY5OWMzMzAzYjM5Y2Q1ZGRkNTg5ZTE4MTgwODZjYmJjZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.wN-iuGQY6FPA6l4zkx4jc-zpwSQlOeVR6qCVMxF-FAY)
Options text and selected option text can be dynamically configured using templating tokens.
Columns in the lookup table are used as templating tokens. For example, for a lookup to the Contact table, you can have different display text for options and selected options:
- Option Display Template :
{{ fullname }} ({{ emailaddress1 }})
- Selected Option Display Template :
{{ fullname }} - {{ emailaddress1 }}
If the selected option display template is not provided, option display template will be used.
If both templates are not provided, Primary Attribute of the lookup table will be used.
you can add your own language by passing a URL to a .resx web resource to the Language Pack Path
property.
you can use the default English language pack here PolyLookup.1033.resx as the template to create a new resx web resource in your environment, then update the value in your language.
you can use this VS Code extension to help you edit the resx web resource in a user interface https://marketplace.visualstudio.com/items?itemName=DominicVonk.vscode-resx-editor
For example, the resx web resource looks like this
https://<org>.crm.dynamics.com/WebResources/storm_/resx/Lookdown.1066.resx
the value passed to the Language Pack Path
can be relative and won't need the environment part. it looks like this:
/WebResources/storm_/resx/Lookdown.1066.resx
- ❌ No paging for large dataset
- fixed disabled style
- fixed minor bugs
- supports new look
- fixed a bug where dropdown doesn't refresh when dependent fields change
- added clear button
- added language support
- Option display text template
- Open record, quick create, lookup panel commands
- fixed control display error in form editor
- First release
- ⏹️ Permission Handling
- ⏹️ Error Handling
- ✅ Localization
- ⏹️ Unit tests