Skip to main content

Notifications

Community site session details
Power Apps - Building Power Apps
Answered

Searchbar by keywords in the app

Like (0) ShareShare
ReportReport
Posted on 24 May 2021 12:53:22 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:
  • CNT Profile Picture
    10,919 Super User 2025 Season 1 on 25 May 2021 at 18:46:50
    Re: Searchbar by keywords in the app

    @Anonymous Gern geschehen!

  • Community Power Platform Member Profile Picture
    on 25 May 2021 at 18:36:44
    Re: Searchbar by keywords in the app

    Many THX its works Perfect ....oder in Deutsch Vielen Dank fĂĽr die Tolle und schnelle Hilfe 

  • Community Power Platform Member Profile Picture
    on 25 May 2021 at 08:17:22
    Re: Searchbar by keywords in the app

    I will test it in a moment

  • CNT Profile Picture
    10,919 Super User 2025 Season 1 on 25 May 2021 at 08:06:25
    Re: Searchbar by keywords in the app

    @Anonymous Alles Klar âť“

     

    Please remember to give a đź‘Ť and accept the solution as it will help others in the future.

  • Verified answer
    CNT Profile Picture
    10,919 Super User 2025 Season 1 on 25 May 2021 at 05:49:13
    Re: Searchbar by keywords in the app

    @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!

     

     

     

  • Community Power Platform Member Profile Picture
    on 25 May 2021 at 05:18:03
    Re: Searchbar by keywords in the app

    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?

  • CNT Profile Picture
    10,919 Super User 2025 Season 1 on 24 May 2021 at 20:26:10
    Re: Searchbar by keywords in the app

    @Anonymous Bitte folge meine Beispiel

    CNT_0-1621887899606.png

     

  • CNT Profile Picture
    10,919 Super User 2025 Season 1 on 24 May 2021 at 20:08:19
    Re: Searchbar by keywords in the app

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

    Was ist diese canvas? Ist das eine Gallery?

  • Community Power Platform Member Profile Picture
    on 24 May 2021 at 20:04:26
    Re: Searchbar by keywords in the app

    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,919 Super User 2025 Season 1 on 24 May 2021 at 14:11:47
    Re: Searchbar by keywords in the app

    @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!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 98 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 64

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard