Hi,
I'm not sure what's wrong with this statement. It creates neither an error nor shows any sharepoint records in the gallery? I put the code inside the Items property of my gallery. 'Search Box'.Text is the text input field and I want to filter only if it's empty (and display the entire sharepoint list if not). Can someone please help me?
Try this
If(
IsBlank(Trim('Search Box'.Text)),
DWBExtractMigrationv1162,
Filter(
DWBExtractMigrationv1162,
StartsWith("EDG-ID", 'Search Box'.Text) ||
StartsWith("RequestStatus", 'Search Box'.Text) ||
StartsWith("RequestType", 'Search Box'.Text) ||
StartsWith("Title", 'Search Box'.Text)
)
)
If is not search is not blank is filtered correct
Hi, it's attached.
Can you send screen shot and code ?
Hi, it's the same thing with that code too. No errors but shows a blank gallery
Try this code :
If(
IsBlank('Search Box'.Text),
DWBExtractMigrationv1162,
Filter(
DWBExtractMigrationv1162,
StartsWith("EDG-ID", 'Search Box'.Text) ||
StartsWith("RequestStatus", 'Search Box'.Text) ||
StartsWith("RequestType", 'Search Box'.Text) ||
StartsWith("Title", 'Search Box'.Text)
)
)
I meant I want to filter it if the text box is not empty and show the entire list if it is empty!
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional