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

Notifications

Announcements

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
    741 Super User 2025 Season 2 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
    741 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard