Recently we found there is very useful control for multiselect lookup; however we have a couple of questions, after played with it for a while.
1. For a single lookup field, you an specify "Most Recently Used Items", is that possible for multiselect lookup? If not, are there any js can achieve similar goal?
2. How to use the last property defaultSelectedRecords_Desc_Key or defaultSelectedRecords_Display_Key
3. Any particular js available for this control, properties, events, methods and etc?
Hello,
The only way I see to make it dynamic is to bind the view to the field and you can change it on the flight changing the value of the field behind it.
Really appreciate your help!
One more question, does this control support JavaScript to set up view instead of hard code view Guid? If so, could you provide some samples?
Thanks!
Hello,
1. If this property is not exposed - I don't think it's possible to configure it.
2. I believe defaultSelectedRecords_Desc_Key is used to populate the field "by default" and I believe it should look like the standard output of that control - [{"id": "", "entityType": "", "name": "", ...}]
3. PCF doesn't expose any additional events - the only thing you can access and bind is "onChange" event.
More information about this control you can find here:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156