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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Fuzzy search in portal...
Power Pages
Unanswered

Fuzzy search in portal (on lookup)

(0) ShareShare
ReportReport
Posted on by
Hi all,

Have a business requirement to 'fuzzy' search a column.  A simple solution that would work for us is to automatically append/prepend wildcares like so `*searchterm*`.

I haven't been able to find a good/clean solution for this.  It appears that some of the solutions that are available in the model-driven apps are not available for portals?

Hope to hear your best practice!

Thanks
Categories:
I have the same question (0)
  • SwatiSTW Profile Picture
    809 Super User 2026 Season 1 on at

    To create a fuzzy search on a lookup in Power Pages:
     
    Use a Dataverse table. Enable wildcards in your search using the like operator. Update the page dynamically with results using JavaScript.
     
    Steps:
    1. Create a FetchXML query in Dataverse:
     
    2. Use a custom web API to expose this query. Ensure it accepts a search term as input.

    3. Add JavaScript to your Power Pages site to call this API when the user types in the lookup field:
     
    4. Test the lookup by typing in the field and confirming it dynamically updates with partial matches.
     
    5. Ensure proper security settings on your Dataverse table and API permissions.

     
  • SwatiSTW Profile Picture
    809 Super User 2026 Season 1 on at
    fetch xml query is below
     
    <fetch>
        <entity name="account">
            <filter>
                <condition attribute="name" operator="like" value="%searchterm%" />
            </filter>
        </entity>
    </fetch>
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 50

#2
Valantis Profile Picture

Valantis 26

#3
omkarsupreme Profile Picture

omkarsupreme 24

Last 30 days Overall leaderboard