Tag Info

Hot answers tagged

2

You can try using the below jquery: $(".ms-InlineSearch-Outline-Baseline input").val("Search People");


1

I don't know if you can choose to only hide some of them, as the setting for removing them is showing all or none. I always hide them and let the users refine their search in the search center. As a site collection administrator, navigate to site settings > under site collection administration > search settings. You have to deselect "Use the same results ...


1

You should be able to go to Site Settings then Search Settings and remove the options you no longer want.


1

You can do this in a couple ways. If you REALLY want to use a Display Template you can create a copy of the Default Item Template and then replace the body div with: <div id=”Item_PropertyList”> <!-–#_ if(!$isNull(ctx.CurrentItem)){ for (var key in ctx.CurrentItem) { var value = ctx.CurrentItem[key]; console.log(“Value: ” + value); _#–-> ...


1

Figured it out, i delete the content source and recrated it...its working now On closer inspection ,i noticed that the query 2 also returns the property but only for very few elements ( infact out of 50 only 1 items did return this value though , the value was filled on all the elements ).


1

This is by design. You could modify the search result webpart to automatically append the * at the end. Not ideal for document search, but for people search its okay.


1

Technically, you are using People Search. I usually use REST for this, but there are analogous Properties in CSOM. You have to set the result source ID to the People Result Source. In your code above remove the HiddenConstraints and add keywordQuery.SourceId = new Guid('B09A7990-05EA-4AF9-81EF-EDFAB16C4E31'); If you really want to emulate the results you ...


1

If you are talking about the person group item on the results.aspx (Everything) tab, that uses the compact person item I believe. You can create new templates rather than change the out of the box templates. Here is the process: http://www.ableblue.com/blog/archive/2013/06/05/introduction-to-sharepoint-2013-display-templates/


1

If you are asking about display templates: /_catalogs/masterpage/display templates/search/item_person.js <- renders result panel /_catalogs/masterpage/display%20templates/search/item_person_hoverpanel.js <- renders hover panel



Only top voted, non community-wiki answers of a minimum length are eligible