문제

I have used Search Box and Search Result web part on my Home.aspx page.

enter image description here

I have added query text in search result web part, it's working fine and shows results.

But I want to hide the default result.

I want to show result only when user enter text in Search Box web part.

How can this be done?

I had tried this Article, but it will redirect to osssearchresults.aspx page.

도움이 되었습니까?

해결책

Adding \\{searchboxquery?} to your Search Results Web Parts content source should work. If you are redirected to osssearchresults.aspx it sounds like you have changed the settings on the Search Box Web Part, make sure the setting; Send queries to other Web Parts on this page is checked, and your Search Result Web Part is marked as retriever.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top