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 / Searchbar by keywords ...
Power Apps
Answered

Searchbar by keywords in the app

(0) ShareShare
ReportReport
Posted on by

Hello, I am trying to create a search line for the entire app. When I enter a keyword there, everything related to that keyword is displayed. 

 

Is there any way ... I don't have lists or anything in the app, mostly just buttons with links to websites or something like that.

 

I think i must filter by the button name or ?

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous What's the data u'r trying to search and which data source is it coming from?

  • Community Power Platform Member Profile Picture
    on at

    Hi thanks for your answer I'm trying to search all buttons in a search line on the main page. about the background I have about 60 buttons on different pages and with different names and I would like to be able to search for them in a search line

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous If you want to search the Text of each Button, it is possible. But for 60 Buttons, the code is not going to be that pretty let alone manageable. I would suggest to have a collection with these terms you want to search and then search the collection. If you could share u'r screen design, it may help!

  • Community Power Platform Member Profile Picture
    on at

    Ok, that's what I thought ... I have now created it differently (see picture).

    how can I now connect the searchbar with the canvas and let it search ...I want to search for the labeltest.PNG

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous Guten Abend! (I'll try a bit of German 🤗)

    Was ist diese canvas? Ist das eine Gallery?

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous Bitte folge meine Beispiel

    CNT_0-1621887899606.png

     

  • Community Power Platform Member Profile Picture
    on at

    Hi, Thank you for this information,
    Canvas is a fluid grid, unfortunately I can't use a gallery because I can't put a hyperlink there (at least you can't call it up then). Unfortunately, I can't find "items" on the Ganvas. 

    Macbek_0-1621919585161.png

    so I want it to search for these labels in this canvas and find them with the input.

     

    or do you have an idea how I can make the gallery do what it is supposed to do when I click on a hyperlink?

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous Please follow these steps,

    In the OnStart of the App add this code (add/change the titles and links according to your need),

    ClearCollect(colTitlesAndLinks,
    	{Title:"Vorzitige Abreise Destimo", Link:"www.bbc.com"},
    	{Title:"OVB mit Alternative", Link:"www.cnn.com"},
    	{Title:"OVB kein checkin", Link:"www.microsoft.com"},
    	{Title:"Hotelwechsel", Link:"www.google.com"}
    )

     

    Add a TextInput and name it as TextInputSuche.

     

    Add a Vertical Gallery with just one Label in it and the Items Property of the Gallery will be,

    Filter(colTitlesAndLinks, TextInputSuche.Text in Title)

    The Text Property of the Label will be,

    ThisItem.Title

    The OnSelect property of the Label will be,

    Launch(ThisItem.Link)

     

    Ich denke dass ist alles was du brauchst!

     

     

     

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous Alles Klar 

     

    Please remember to give a 👍 and accept the solution as it will help others in the future.

  • Community Power Platform Member Profile Picture
    on at

    I will test it in a moment

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard