문제

I have Sharepoint 2013 and Employee Directory. Search page whit 2 webparts (search input field and search results). Querytext: "{searchBoxQuery}*" to search for parts of words. How to set to not show result until the user not presses enter or the search button?

도움이 되었습니까?

해결책

Use the question mark (?) operator - this means that if the variables inside this statement are blank or empty then everything between {? and the matching end brace } will be omitted from the expanded query.

e.g. {?searchBoxQuery}*

Excellent write up on this by Mikael Svenson on his blog post here

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