I have added a sharepoint 2013 list view webpart

When the page loads, it is bringing the items from the list

I have selected "Enable Search" in webpart properties and its showing the search box on top. But the problem is it is bring the view during the page load.

I want it to fetch items only on search


Add this in your query transform in your search webpart


Or if you already have a query transform wrap it within this

{?{searchterms} QueryTransform}
  • its actually a list webpart with search box shown which webpart should be used for this? – Vignesh Subramanian Mar 7 '17 at 9:34
  • Are you using the ListView Webparts on the list forms? – rjv91 Mar 7 '17 at 9:38
  • Yes you are right – Vignesh Subramanian Mar 7 '17 at 9:40
  • This approach is when you are using search results web part – rjv91 Mar 7 '17 at 9:43
  • 1
    For your case one OOTB way would be to use the ListView webpart and the text filter webpart together.Send the text filter values to the List webpart using connections. – rjv91 Mar 7 '17 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.