cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dmistry
Level 8

Unable to search item from the Browse Screen in a powerapp

Hi,

 

I have a PowerApp setup that brings data from SP List. I assumed that by default the search would but basic text search is not even working. Can someone help me setup the basic text based search. Title field is empty but there are three fields for which I want to make sure that if a user searched for text contained in any of these columns, it should filter results accodingly. 

 

Below are the columns:

1. Date of Submission (date field)

2. Location (choice)

3. Plate Number (free text)

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Unable to search item from the Browse Screen in a powerapp

Hi @dmistry,

Could you please share a screenshot about your app's configuration?

Do you want to filter your SP list items based on a text contained in any of three columns (Date of Submission, Location and Plate Number)?

The data structure of my SP list as below:12.JPG

I have made a test on my side, please take a try with the following workaround:13.JPG

Set the Items property of the Gallery control to following formula:

Filter(
'20181026_case9',
TextSearchBox1.Text in Plate_x0020_Number ||
TextSearchBox1.Text in Location.Value ||
TextSearchBox1.Text in Date_x0020_of_x0020_Submission
)

Note: I assume that you use a Gallery control to display your SP list items.

On your side, you should type the following formula:

Filter(
'YourSPList',
TextSearchBox1.Text in Plate_x0020_Number ||
TextSearchBox1.Text in Location.Value ||
TextSearchBox1.Text in Date_x0020_of_x0020_Submission
)

Note: The TextSearchBox1 represents the Text Input control, where the user could type search text.

The GIF screenshot as below:Test1.gif

Above formula may cause a Delegation issue, in order to get rid of this issue, please take a try with the following workaround:

Set OnVisible property of the first screen of your app to following:

ClearCollect(RecordsCollection, 'YourSPList')

Set the Items property of the Gallery to following:

Filter(
    RecordsCollection, 
    TextSearchBox1.Text in Plate_x0020_Number || 
    TextSearchBox1.Text in Location.Value || 
    TextSearchBox1.Text in Date_x0020_of_x0020_Submission
)

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Unable to search item from the Browse Screen in a powerapp

Hi @dmistry,

Could you please share a screenshot about your app's configuration?

Do you want to filter your SP list items based on a text contained in any of three columns (Date of Submission, Location and Plate Number)?

The data structure of my SP list as below:12.JPG

I have made a test on my side, please take a try with the following workaround:13.JPG

Set the Items property of the Gallery control to following formula:

Filter(
'20181026_case9',
TextSearchBox1.Text in Plate_x0020_Number ||
TextSearchBox1.Text in Location.Value ||
TextSearchBox1.Text in Date_x0020_of_x0020_Submission
)

Note: I assume that you use a Gallery control to display your SP list items.

On your side, you should type the following formula:

Filter(
'YourSPList',
TextSearchBox1.Text in Plate_x0020_Number ||
TextSearchBox1.Text in Location.Value ||
TextSearchBox1.Text in Date_x0020_of_x0020_Submission
)

Note: The TextSearchBox1 represents the Text Input control, where the user could type search text.

The GIF screenshot as below:Test1.gif

Above formula may cause a Delegation issue, in order to get rid of this issue, please take a try with the following workaround:

Set OnVisible property of the first screen of your app to following:

ClearCollect(RecordsCollection, 'YourSPList')

Set the Items property of the Gallery to following:

Filter(
    RecordsCollection, 
    TextSearchBox1.Text in Plate_x0020_Number || 
    TextSearchBox1.Text in Location.Value || 
    TextSearchBox1.Text in Date_x0020_of_x0020_Submission
)

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

dmistry
Level 8

Re: Unable to search item from the Browse Screen in a powerapp

Works great, thank you. What exactly is the "Records Collection"? 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,188)