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

Community site session details

Session Id : mGApD3Lo2fqohIzP92/H6+
Power Pages - General Discussions
Answered

addPreSearch and addCustomFilter on Power Pages

Like (0) ShareShare
ReportReport
Posted on 17 Dec 2023 19:09:16 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:
I have the same question (0)
  • Verified answer
    Saud Ali Profile Picture
    812 Super User 2024 Season 1 on 17 Dec 2023 at 20:33:38
    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.

  • l.oliver Profile Picture
    147 on 17 Dec 2023 at 20:40:03
    Re: addPreSearch and addCustomFilter on Power Pages

    This is great!

    Thanks a lot for the swift reply!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 46 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 43 Super User 2025 Season 2

#3
Jerry-IN Profile Picture

Jerry-IN 38

Last 30 days Overall leaderboard
Loading started
Loading complete