Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Does multiselect lookup control support recently used?

Posted on by 162

pastedimage1669823819844v1.png

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? 

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Does multiselect lookup control support recently used?

    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.

  • Ning Zhu Profile Picture
    Ning Zhu 162 on at
    RE: Does multiselect lookup control support recently used?

    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!

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Does multiselect lookup control support recently used?

    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:

    www.ariclevin.com/.../

    www.ariclevin.com/.../

    www.inogic.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans