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 :
Microsoft Dynamics CRM (Archived)

Change lookup up more records to a 'contains' not a 'start with'

(0) ShareShare
ReportReport
Posted on by

Hey

I would lie to change the 'look up records' option of a sub grid to find containing items in a phrase not the start of the field which is what seems to occur

Thanks

R

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    Hi Romolo,

    Check if you can achieve this using the addCustomFilter - see here the documentation: docs.microsoft.com/.../addcustomfilter

    Additional info: community.dynamics.com/.../more-adventures-in-pre-filtering-customer-lookup-fields-dynamics-crm-dynamics-365-for-enterprise

  • ashlega Profile Picture
    34,477 on at

    You should be able to use wildcard search BTW, just add * before the keyword

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Romolo,

    You can use wild card search to achieve this functionality.

    For example, if you need to find all the items containing test, search as *test* . This will return all the items containing the word test.

    See the links below for more details.

    https://crmtipoftheday.com/178/do-you-know-what-wildcard-is/

    https://community.dynamics.com/crm/b/xrm/archive/2011/12/05/quick-tip-get-wild-with-your-searches

    Hope this helps.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Romolo,

    You can use asterisk *  in your search string.

    Hope it helps:)

    Thanks

  • Community Member Profile Picture
    on at

    Thanks everyone.

    This is something I want to do in the core lookup so that when users are going to add additional items to this list it is doing a wildcard search automatically, not that they must enter *search term*.

    So it will take there user input "Ferrari" and search in an entire string for *ferrari*

    Thanks

  • Community Member Profile Picture
    on at

    Any ideas?

    Thanks

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi Romolo,

    In a lookup control you can do this by creating a custom fetchXml/layoutXml view and filtering the results, but you want to do this in the subgrid lookup (per your question).

    I don't think that you have any control over that particular lookup because you are unable to attach code to that control.

    You can always do what everyone suggested, which was using wildcard to search, but not prefiltering.

    Possibly in future versions of Dynamics.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans