cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Search Button shows blank gallery

HI,

I'm working on a app for my business. Created a tablet layout and created a gallery then the textinput.

Connected my sharepoint list which is LOI approval to the gallery. 

Text input was renamed to searchbox. The gallery was set to title,subtitle and body. 

Now on the item field on the gallery i changed it to Search('LOI Approval',Searchbox.Text,"Title"). 

Then going to the preview button the searchbox when we type something on it turns the gallery to blank.

The purpose of the searchbox is to refine the gallery to the search text. Can someone help me.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper V
Helper V

Re: Search Button shows blank gallery

There's multiple ways of approaching your latest issue. If you want to see your line item selected let's first go with the simplest approach:

 

1. Create a new screen and insert a new Display Form

2. In the new form's Datasource property, choose your sharepoint list.

3. Add display items to the fields list

4. Inside the form's Item property formula, it should something similar (replace Gallery with your gallery name):

Gallery.Selected

gallery_selected.png

5. Now go back to your previous screen with your gallery and within your right chevron's OnSelect property, you should choose to navigate to your screen with the form:
navigate_to.png



View solution in original post

4 REPLIES 4
Highlighted
Dual Super User
Dual Super User

Re: Search Button shows blank gallery

Hi @nchandran 

 

This will only search in the "Title" column of your datasource "'LOI Approval"

can you check the data source to see if the title column has the word you are searching

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Helper III
Helper III

Re: Search Button shows blank gallery

Hi,

 

Based on what you just told me the column "title" yes its empty, but I actually want the search to find the data from the Requester Name column which the type is a people/group. Is there a way i need to change the formula?

I've attached the sharepoint list screenshot as well as the properties for the gallery so you have an idea what i'm saying.

Highlighted
Helper III
Helper III

Re: Search Button shows blank gallery

Managed to self-resolve it, solution was to use the formula below. 

Filter('LOI Approval',StartsWith('Requester Name'.DisplayName, searchbox.Text).

 

Now the problem is my navigate button for that particular searched line item from gallery goes to parent.item, rightfully it should navigate to that searched line item ibelonging to the sharepoint list using that navigate button. ANy ideas?
Highlighted
Helper V
Helper V

Re: Search Button shows blank gallery

There's multiple ways of approaching your latest issue. If you want to see your line item selected let's first go with the simplest approach:

 

1. Create a new screen and insert a new Display Form

2. In the new form's Datasource property, choose your sharepoint list.

3. Add display items to the fields list

4. Inside the form's Item property formula, it should something similar (replace Gallery with your gallery name):

Gallery.Selected

gallery_selected.png

5. Now go back to your previous screen with your gallery and within your right chevron's OnSelect property, you should choose to navigate to your screen with the form:
navigate_to.png



View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,090)