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

Announcements

No record found.

News and Announcements icon
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.

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
Travis South Profile Picture

Travis South 45

#2
11manish Profile Picture

11manish 44 Super User 2026 Season 2

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans