I have a screen with onVisible property set as ClearCollect(Collection1,AzureBlobStorage.ListFolderV2("XXXXXXX").value)
My gallery Items property set as Collection1
My search button onSelect property set as ClearCollect(Collection1,NameFilter.Text in DisplayName)
I want allow the user enter some input in NameFilter textbox and user can click the search button to filter the gallery with the name.
For example, user key in Apple in the textbox, the galley will filter item display name which contain "apple".
I tried function above but I still not able to filter the gallery, any other way to solve this?
Hi @NeohLooi
Should you note use the Collection1 for anything else than displaying its content in the gallery, you don't really need it.
You could simply add AzureBlobStorage.ListFolderV2("XXXXXXX").value as the Items property of your gallery.
You could do something like this to search for items in the blob storage:
Search(
AzureBlobStorage.ListFolderV2("XXXXXXX").value,
NameFilter.Text,
"<a column from your blob storage>"
)
// and if you do it with your collection
Search(
Collection1,
NameFilter.Text,
"<a column from your collection>"
)
If you have less than 500, respectively 2000 items, you shouldn't run into delegation issues.
I hope this helps. Let me know if you need more help.
Hi @FabianAckeret ,
I tried the solution that you provided, it does not work, the galley do not filter by the search.
Can you do this
ClearCollect(Collection1,AzureBlobStorage.ListFolderV2("XXXXXXX").value)
and then send me a screenshot of the collection? Then I could give you a more accurate answer.
Hi @NeohLooi
Did you manage to solve your issue?
User | Count |
---|---|
228 | |
98 | |
95 | |
56 | |
33 |
User | Count |
---|---|
279 | |
108 | |
107 | |
64 | |
62 |