cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
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
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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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