Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Answered

addPreSearch and addCustomFilter on Power Pages

(0) ShareShare
ReportReport
Posted on by 147

Hi folks,

 

I don't seem to be able to figure out or find any solutions regarding setting a custom filter view on a Lookup field on a form on a Portal. Essentially just like the "addPreSearch" for forms in CRM using the formContext (https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/controls/addpresearch).

 

Is this even supported on a Power Page? And if so, how could I achieve this?

Categories:
  • l.oliver Profile Picture
    147 on at
    Re: addPreSearch and addCustomFilter on Power Pages

    This is great!

    Thanks a lot for the swift reply!

  • Verified answer
    Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at
    Re: addPreSearch and addCustomFilter on Power Pages

    Hi @oml ,

     

    Unfortunately, there is no OOB way to achieve this on Power Page Site. The pre search filter only works for model driven app. But yes, there is a way to achieve this filtration on Power Page Site.

     

    Please check out this article by Oliver. This article covers two approaches two do this. Oliver's example is easy to understand and implement (but both will work, whatever you prefer). 

     

    Feel free to ask, if you have any questions.

     

    Thanks,

    Saud

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43