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 ?
@Anonymous Gern geschehen!
Many THX its works Perfect ....oder in Deutsch Vielen Dank fĂĽr die Tolle und schnelle Hilfe
I will test it in a moment
@Anonymous Alles Klar âť“
Please remember to give a 👍 and accept the solution as it will help others in the future.
@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!
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.
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?
@Anonymous Bitte folge meine Beispiel
@Anonymous Guten Abend! (I'll try a bit of German 🤗)
Was ist diese canvas? Ist das eine Gallery?
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 label
@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!
WarrenBelz
98
Most Valuable Professional
MS.Ragavendar
64
stampcoin
48