11
votes
How to check correct Crawled property for a list column
First of all if it is a custom column, you need to find what is the internal name of that column. Go to List Settings --> Click on Column name and see what is the name in the URL (Field="Fieldname").
...
8
votes
Managed/Crawled Property for Site Collection "TITLE"
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 ...
7
votes
Accepted
Best Way to create Custom Poll Web part in sharepoint 2013?
When you decide to use OOTB Survey list, You should take care of two main factors.
Time:
The time required to customize the current OOTB survey list to match your requirements.
And the time ...
6
votes
Accepted
What features do I have to activate to get Content search web part (CSWP)
This webpart requires Enterprise features to be enabled in your environment. If this is not enabled the webpart will not be available.
Here's a guide on how to do that
If you still have problems ...
6
votes
Accepted
Display template not updating outside server?
After banging my head around for some days, the problem was solved by flushing the blob cache.
This is the command I used on the Front end server
$webApp = Get-SPWebApplication "<...
6
votes
Accepted
PDF Files not opening when clicked from the content search web part
In SharePoint Online the best way to achieve opening of documents in the browser is by appending web=1 as a query string parameter to the file URL like https://tenant.sharepoint.com/Documents/file....
5
votes
Accepted
Content Search Web Part not showing up on a page
After a week of troubleshooting with Microsoft Support, I can confirm that as of 9/2014 that SharePoint Online Plan 1 does NOT include Content Search Web Part (CSWP) even though it shows up and lets ...
5
votes
Accepted
content search webpart ignore querystring filter when empty.
This did the trick:
{?HRPortalRole:{QueryString.role}}
5
votes
Accepted
Can I sort my sites using their Title inside my content search web part
The title of a site (the one present on (/_layouts/15/prjsetng.aspx page) resides in a crawled property called ows_SiteName.
You should map it to a RefinableStringxx managed property(see below screen ...
5
votes
Accepted
How i can do a case-insensitive sort inside my content search web part
In SharePoint Search, it will sort Character with "A-Z" then "a-z", it is by design, because Lower Case character will have a larger ASCII value compare with Upper Case character. SharePoint Search ...
4
votes
Is there any option in SharePoint 2013 Office 365 to do Full Crawl or Incremental Crawl or Continuous Crawl?
You cannot set the crawl in O365. It is set to do a continuous crawl, and should take ~15 minutes for results to show in search results. However, in times of heavy use, that can increase to hours. ...
4
votes
Multiple, Relative "Path:" in SharePoint 2013 CSWPs
This is a slightly different way to solve your problem: if you are getting random list views, maybe you could specify to return only Pages? Add to your query:
ContentTypeId:...
4
votes
Accepted
How to get top rated pages in content search web part
You mapped ows_AverageRating to managed property RefinableDecimal00? Did you start full crawl after that?
Recrawl is important.
4
votes
Can I sort my sites using their Title inside my content search web part
You can map title to one of the RefinableString, crawl, and sort by that RefinableString
UPDATE
Go to Central admin > Manage service applications > Search service application > Search Schema (under ...
4
votes
LastModifiedTime managed property inside my Search Result web part will not get updated when editing word document properties
LastModifiedTime managed property does not always show the modified date value of a list item. The reason behind that is that LastModifiedTime managed propery is mapped to multiple crawled properties ...
3
votes
Is there any option in SharePoint 2013 Office 365 to do Full Crawl or Incremental Crawl or Continuous Crawl?
No it is not possible, but you can request a reindexing on site level. See the following quote:
When you have changed a managed property, or when you have changed the mapping of crawled and managed ...
3
votes
Accepted
Editing a page template in Sharepoint Designer breaks Content Search Web Parts
For some reason SharePoint Designer changes the tags of those web parts EVERY TIME you open it:
<spsswc:ContentBySearchWebPart>
needs to be changed back to
<WpNs1:ContentBySearchWebPart&...
3
votes
Accepted
How to use the Content Search Web Part to filter on a custom column property?
You'll need to make sure that your custom column is a Managed Property in your Search Schema. By default, all site columns are also created as Managed Properties, but if you created the custom column ...
3
votes
Blog Feed on Home Page
Modifying the underlying XSL files worked in SP2010: http://blog.kappasolutions.ca/blog/post/2010/09/12/How-to-Display-HTML-in-Content-Query-Web-Part.aspx
Specifically, setting disable-output-...
3
votes
Accepted
Conditional formatting in display template in sharepoint 2013
Yes we can achieve this using display templates.
First if you are using an OOB display template, I would suggest make a copy of it in and customize it based on your requirement.
Now as you have a ...
3
votes
How to check correct Crawled property for a list column
A well explanatory MSDN Article to get idea from site column to Managed Property.
Assuming that it would be a choice column.
The name of this property is generated by removing spaces from the site ...
3
votes
How to check correct Crawled property for a list column
OK, this post is old but I would like to give my answer.
Based on your input above here it is how you should look at it.
You have two types of columns, 1) Site columns and 2) list columns.
In your ...
3
votes
Sharepoint CSWP - Link URL - Open in new window
If I understand you correctly, I would create a new CSWP display template. That way you can add in the code (shown highlighted in yellow) that will make the link open in a new window.
I usually copy ...
3
votes
No Results by Content Search Webpart
What license do you have?
If you do not meet the license requirements which is any of the Office 365 Enterprise plans, you will see the webpart, be able to add it to a page and create a query and ...
3
votes
Accepted
Unable to use $getItemValue for a field not defined inside the properties mapping , inside Display Templete
Try add yourCommentOWSMTXT at first place <mso:ManagedPropertyMapping msdt:dt="string">'CommentOWSMTXT','ListID','ListItemID', ...
then save item.html display template.
Go to your page where ...
3
votes
Adding query to lookup the values of the list in search webpart
The answer to your question would be Managed property.
For your particular question, Department field itself is a term set field already available to be queried. If you have maintained, the correct ...
3
votes
Accepted
Is it necessary to have the Publishing features enabled, to be able to Add and Use Content Search WebPart
Yes, it's not mandatory, you are right you can add the Content Search WebPart (CSWP) without activating publishing feature.
The Content Search WebPart requires that you have configured Search ...
3
votes
Accepted
My sharepoint online office 365 is missing the following web part "Content Search" under Content Roll-out category
The Content Search Webpart is only available to E3 and above Enterprise plans (or Sharepoint Plan 2 among SharePoint Online Plan 1 (Business) and SharePoint Online Plan 2 (Enterprise)).
In fact, ...
3
votes
SharePoint ContentBySearchWebPart shows OneNote sections instead of OneNote documents
You can exclude files with the .one extension, which represent OneNote sections, by adding NOT FileType:"one" to your search query.
Note that OneNote notebooks are really folders, not documents, so ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
content-search-web-part × 2842013 × 77
search × 63
sharepoint-online × 58
display-template × 39
search-results × 35
managed-property × 30
sharepoint-enterprise × 25
web-part × 23
development × 22
sharepoint-server × 18
enterprise-search × 14
cross-site-publishing × 13
office-365 × 10
query × 10
cswp × 10
2016 × 9
content-query-web-part × 9
crawled-property × 9
search-query × 9
refiner × 8
javascript × 7
administration × 7
sharepoint-search × 6
blog × 6