web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

getting the available values from lookup field

(0) ShareShare
ReportReport
Posted on by 197

Hello,

I have a filter on lookup field and After I set the preSearch I want to get all the searched/available values(not selected values/ I want values that are in the dropdown) that are within the lookupfield.

I don't know how to do it.

There are no results on the web that are suitable for me.

Can someone give me an advice ?

Thanks.

I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: getting the available values from lookup field

    Hello,

    The only way I can think of is to build the query that will be used in the lookup control and query the data using WebApi.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: getting the available values from lookup field

    Hi magical,

    I‘m not clear what you want to need

    As you mentioned, you have set the preSearch filter on the lookup field, and you want to get values that are in the dropdown.

    The lookup field can show all records from another entity, but you have set preSearch filter for it, so it will just show part of these records.

    Now, you want to get these records, you need Iterate through the entity with filter.

    You can try to use 'CRM REST Builder' tool to retrieve records with filter.

    pastedimage1625022056939v1.png

    pastedimage1625022336774v1.png

    Note:

    CRM REST Builder Download page: https://github.com/jlattimer/CRMRESTBuilder

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 36 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans