Tag Info

Hot answers tagged

3

The real answer here is to create a result source where you for "Type" choose "People Search Results". You don't need to add ContentClass=urn:content-class:SPSPeople For example: {?({searchTerms})} {?OR (({searchTerms}) spcontenttype:contact)} will give people + results of contenttype=Contact When testing this in the query wizard it will append ...


2

If you want to append to the url, you can add something like this - osssearchresults.aspx#Default={"k":"Amit","o":[{"d":1,"p":"Created"}]} Above, k = queryText ; d - can be 0 or 1 for specifying the sorting order ; p - parameter based on which you want to sort. Further you may look into this link Also if you are using result source for search results, ...


2

As Vadim mentioned, you cannot create new managed properties in SPO with Refinable option enabled. However, you can map the crawled property (ows_SiteName) to an already created Managed Property in SPO (RefinableString00) as shown in the below image: You can then set an Alias (SiteTitle) to the RefinableString00 property and use it in search just like ...


1

This is possible also in SharePoint OnLine. These are the steps that you have to do: (Go to) Sharepoint Admin -> User Profiles -> Manage User Properties -> New Property Here you have to choiche from some option. For sure you will need to make the property indexed Then go to Search -> Manage Search Schema -> New Managed Properties Here you have to ...


1

Check the result sources: People: {?{searchTerms} ContentClass=urn:content-class:SPSPeople} Local Content: {?{searchTerms} -ContentClass=urn:content-class:SPSPeople} For local the minus in front of the content class excludes the people results. For people the contentclass excludes your list. Create a copy of the people result, add your custom list ...


1

Try the following. Set "Which source should results match?" to "All Sources". Under "Show more conditions", select ContentSource contains any of (Your Content Source Name). Also ensure your display template is selected at the bottom.


1

I tried as told by Sane.Amit. But still i am getting the same result. Because it is already trimmed in the display template. So i updated the display template Item_CommonItem_Body. I replaced the below portion var titleHtml = String.format('<a clicktype="{0}" id="{1}" href="{2}" class="ms-srch-item-link" title="{3}" onfocus="{4}" ...


1

The solution is to create a new Display Template that includes the BCS fields as Managed Properties. You have to add the Managed Properties in the Search Service Application under Search Schema, and then do a full crawl. Copy an existing display template and then add your managed properties and rendering logic so it looks the way you want. You can follow ...


1

First of you should use SPContentType and not ContentType. For some reason ContentType seems a bit unstable but the "special" SPContentType always works. In addition to the suggestions by @Sane.Amit you can edit the search result web part and change the sort order drop down values, then uncheck it again as explained in my post: ...



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