Hi,
Where the .text in the search formula comes from? What do I have to do for it to be accepted?
Have tried 100 times, different ways and even replaced search by filter but nothing works. My gallery data goes blank and nothing happens.
When I'm entering the formula, the .text does not come up so, I have tried changing it to .Value, which shows less errors but still...
Could it be that data source table from sharepoint has fields with different types such as number, choice, etc? Although my 3 selected fields are all text. Please help and thank you beforehand.
@Kellyrsv I am glad that it helped you. Please make sure to accepted my suggestion as solution ✅ . This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍
Thanks,
ANB
Thank you ANB, spot on, I'm using modern input control. It worked now so thanks heaps
HI @Kellyrsv , The Syntax of Search is :
Search(Customers, SearchInput.Text, Name)
Now depending upon whether you are using modern text input control then it will be .Value and if you are using classic control then the it will be .text.
For Choice column the code will be little different:
Search(
AddColumns('My SharePoint List', "ChoiceValue", Choice.Value),
SearchInput.Text,
"ChoiceValue"
)
-----------------------------------------------------------------------------------------------------------------------------
I hope this helps.
Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍
Thanks,
ANB
Hi @Kellyrsv, If I am understanding correctly, you are looking to be able to search in a gallery, is this correct?
The way I have achieved this is by doing the following.
1. I created a gallery connected to my data source,
2. I then created a text input called "ti_MaterialLookup_SearchBar"
In my gallery Items field, I put the following. Notice that I am searching my data source, based off the text input. At the end of the input make sure you have .Text, then reference the column you are wanting to search.
Search('Conex - Chevron', ti_MaterialLookup_SearchBar.Text, Title)
I hope this helps!
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473