Creating a sharepoint 2007 search for a list (results only from that list)?
-
01-07-2021 - |
Domanda
I have been researching this for some time, and have not been able to find a solution. I would just like to have a search bar that when an ID is entered, the search will return all the list items that have that ID.
I'm sure I am leaving out details (as I am a sharepoint novice), but any help would be greatly appreciated.
Soluzione
What you need is not search, but filter.
In the view of you library, follow these steps :
- Put the page in edit mode
- Add a web part "Text Filter Web Part"
- Open its tool pane
- Name the filter, "IDFilter" for example, and validate
- Still in edit mode, select "Modify shared Web Part" --> "Connections" --> "Send filter values to name of your library"
- Choose the field that holds your ID and click "Finish"
That's it. You can now type the ID in the field, and it will dynamically apply a filter on the ID field.
That said, you should post you future questions on http://SharePoint.stackexchange.com. this is a SharePoint dedicated stackexchange site.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow