cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WebPortal
Level: Powered On

How to add a search box to a gallery?

Hello,

I have just added:

  1. a gallery 
  2. a screen 

To a new App, with tablet layout. Data source is a Sharepoint list.

image.png

 

image.png

 

How do I add a search box at the top?

 

I've searched on Google, Youtube, etc. but can't find it. So with thousands of items, I need a search box..

How do I add one?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: How to add a search box to a gallery?

@WebPortal 

Here's some instructions for you Cat Happy

 

Step #1  Create a text input box

 

Step #2  Put the following code in your Items property of the gallery

 

Search(
your_datasource_name,
your_text_input_name.Text,
your_column_name
)

 

Step #3: Celebrate.  You're done!

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: How to add a search box to a gallery?

@WebPortal 

Here's some instructions for you Cat Happy

 

Step #1  Create a text input box

 

Step #2  Put the following code in your Items property of the gallery

 

Search(
your_datasource_name,
your_text_input_name.Text,
your_column_name
)

 

Step #3: Celebrate.  You're done!

 

---
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

View solution in original post

WebPortal
Level: Powered On

Re: How to add a search box to a gallery?

Thanks a lot, I've managed to do it!

Thought would be a lot easier... 🙂

 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

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