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 Apps / Power App Search function
Power Apps
Answered

Power App Search function

(0) ShareShare
ReportReport
Posted on by 2

Question on Power App Search Function.

 

I have an app with multiple screens. Due to the sheer amount of contents, its important to have a search function from the home page - to find if a topic is available in the app in another screen/s - show the list of screens and be able to click and navigate to that particular screen.

Any ideas how to do that?

Categories:
I have the same question (0)
  • rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    hi @ajo070 sure that is possible. The content you are referring to are datsources right. let's say you have two collections, collection1 and collection2. collection one is on the first screen and collection two on the second screen.

     

    when you search on the first screen you can search any collection in the app.

    let's create the total entries for a title search in collection one is a variable

    Set(_TotalOne, CountRows(Filter(collection1,Title = 'Title1'))) and we can add the same search in collection one to the same search button  

    Set(_TotalTwo, CountRows(Filter(collection2,Title = 'Title1'))).

     

    You can then inform the user that page one has _TotalOne entries and page two have _TotalTwo entries with Titles containing Title1.

     

    i hope this helps

     
  • ajo070 Profile Picture
    2 on at

    Hi.. yes , that will work to search , but navigating to the various screens from the search results is what I am looking for. Basically users should be able to search is a topic is available in the app and click on one of the search results which should navigate them to the corresponding screen 

  • Verified answer
    rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    hi @ajo070 

    See if this will help:

    Three collections

    ClearCollect(col1,{Title:"One"},{Title:"Two"});

    ClearCollect(col2,{Title:"One"},{Title:"Three"})

     

    Concat the collections and add a page name to it

    ClearCollect(_AllCol, AddColumns(col1,"Page","Page1"), AddColumns(col2,"Page","Page2"))

    the OInSelect of the gallery = Navigate(If(ThisItem.Page = "Page1",Page1,Page2) ,ScreenTransition.Cover)

     

    rubin_boer_0-1614613569917.png

     

    Now when the user click on the gallery the corresponding page will open. 

     

    In your case you will have to filter the collection still to get all the results.

     

     

     

     

     

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 740 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 342 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard