Content Search Web Part displays search results in a way that you can easily format. Each Content Search Web Part is associated with a search query and shows the results for that search query. You can use display templates to change how search results appear on the page. Display templates are ...

learn more… | top users | synonyms

1
vote
0answers
43 views

Unable to show a list of all the sub sites under a parent sub site

I have team site collection, where I created a parent sub site. Then under the parent sub site I created many sub sites. Now I need inside the parent sub site to show a list of all sub sites under it. ...
0
votes
1answer
50 views

Querystring parameter in content search webpart ignored when using refiners

I've put a content search webpart on a page together with some refiners. The items in the content search webpart are filtered by a query string parameter (name: tag) ...
0
votes
1answer
19 views

Change metadata for document is not reflect on Content Search Webpart

We are using SP2013 enterprise on-premise. On a site collection we have setup a content search webpart to show latest updated documents and pages. Supposingly the webpart should show the title of ...
1
vote
1answer
20 views

Crawled and Managed Properties being created in wrong Service Application

I have a farm with 2 web applications (call them A and B). Each web application has its own dedicated search service application (call them SearchA and SearchB). Farm Patch Level is the March PU so ...
0
votes
1answer
21 views

Display more than one fields using content search webpart

I need to show more than one field from particular list using content search web part. Please provide me the steps or any reference links for the same. Thanks.
1
vote
2answers
39 views

Sharepoint 2013 Content Search Web Part Picture URL

I have a Sharepoint site and a subsite attached as blog on an Enterprise Sharepoint. I want to display the latest posts from this blog on the main page of the Sharepoint site. Therefor I make use of a ...
1
vote
1answer
32 views

Content search webpart - term parents

I am looking for a way to search in content via content search webpart by managed metadata. I need something like {Term.IdWithChildren}, but I need to search in parent terms, instead of child terms. ...
0
votes
0answers
15 views

Content search web part: applied on a community site or a blog, how to hyperlink categories?

The scenario is a content search web part applied on a community subsite or a blog subsite. I managed to display the 'category' (for the community or for the blog). Those show up as text and not as ...
0
votes
1answer
28 views

Using “Office” property of User Profile for search query filter in Content Serch Web Part

I have a Content Search Web Part where I need to use the Office property of the User Profile. I can get the Department property and use it as filter property but can't get the Office property to ...
1
vote
0answers
39 views

SharePoint 2013 Content By Search Disable ASCII Sorting

I am building a Content By Search web part that read data from a custom list with one column "Title". I have updated the search schema to mark the title column as sortable and now I can choose the ...
0
votes
0answers
41 views

Sharepoint (office 365) Managed properties missing metadata field

I have created a Managed Metadata field and the field is also crawled with property name in Search settings as shown below. When I tried to use a content search webpart it doesn't display on the list ...
0
votes
1answer
50 views

Show attachment in Search Content Display Template

I'm currently making a display template for my content search query. I would like to show the attachments but I don't know what code I would use to do this. Here is my code but I don't have anything ...
1
vote
1answer
58 views

Sorting by LastModifiedTime in content search webpart is affected by attachment last modified date

I have a content search web part that is getting the 5 most recently modified items, ordered by LastModifiedTime, from a list. I am also displaying the LastModifiedTime on a custom item display ...
0
votes
0answers
29 views

Are links required in cross site navigation?

I have a site that uses the content query search web part to display catalog list items. When I connected to this catalog, it automatically added the navigation links to the top and side nav bars. ...
0
votes
1answer
50 views

Unable to get image from site column in display template

I have a site column of type Publishing Image. I want to use it in my display template after mapping it to the crawled property. But it always returns null. I have mapped the column to a crawled ...
2
votes
1answer
49 views

Content Search Webpart Help!

I would like to show a "News Article" list on my site collection homepage that queries customs lists on all sub sites and shows those that have a column yes/no value set to Yes. How can this be ...
1
vote
1answer
104 views

SharePoint 2013 Content Search WebPart Query Unable to Exclude People Results

I am using a Content Search WebPart to search for a keyword from 100s of site collections under a web application. I have two content sources: 1. http://web.application (All the sites) 2. ...
0
votes
0answers
60 views

CSWP custom sort order

We have set up a cross-site publishing situation and it is working well. We have reuse pages on the publishing side with content search web parts We have a catalog of items that is marked with a ...
0
votes
0answers
173 views

Programmatically change Content by Search queryTemplate & Paging display template

I'm using the following solution to change QueryTemplate on run-time: ...
0
votes
0answers
39 views

Show list items with custom column using Content Search

I want to show all news items from my sub sites using a Content Search web part but I want to know how I create a query that can look at the lists and only choose those that have the "live" column ...
0
votes
0answers
31 views

Number of results returned in a content search

I am using a Content Search web part (not Search Results web part). Is there any way to show the total number of results returned from each search? Right now I'm returning 8 items per page, but ...
0
votes
0answers
30 views

Including tag from discussion and newsfeed

How can I retrieve posts containing a specific tag from Discussions and Newsfeed? I have a page in which I can filter posts based on specific tagID. Here's the query I'm using: ...
0
votes
0answers
101 views

Anonymous users can't view a content search web part in SharePoint 2013

I've been completely stuck on this for a few days now. Basically I have an intranet home page with custom master & layout in SP2013 Enterprise on-premises. The page contains a content query web ...
3
votes
1answer
82 views

Is there a way to query for items a user has “liked”?

I am trying to pull together a list of items / documents a user has "liked." I saw that there's a crawled property ows_LikedBy, but no managed property, so I created a managed property LikedBy and ...
2
votes
1answer
135 views

content search webpart ignore querystring filter when empty.

I'm using a standard content search web part. I have a querystring filter on the HRPortalRole managed property like this: HRPortalRole:{QueryString.role} When I provide a value in the querystring, ...
1
vote
0answers
143 views

content search webpart query string filter with multiple values

I'm using a standard content search webpart. In my query I have a query string filter on a field called HRPortalRole. The column that links to the HRPortalRole managed property is a choice column. The ...
0
votes
1answer
94 views

Can you expose configurable parameters from a display template in the web part editor part?

I am working on customizing display templates for the Content Search web part. I have a custom item template, and a custom control template. I'm going to be setting up several similar web parts, and ...
0
votes
0answers
24 views

Search for employees on a Sharepoint Web Drawing

Background information: I created a list of employees on SharePoint 2013 and a Visio (2013) diagram of a seating map, 1 tab per building and floor: 6 tabs total of hundreds of employees. I linked ...
0
votes
0answers
23 views

Publish Page Content-Cross Site Publishing in SharePoint Online [duplicate]

Is it possible to get Authoring Site's Specific Page's Content/htmlcontent (Live in Page Library of Authoring Site and saved as a Catalog) by a Content Search web part added to the Publishing site's ...
1
vote
2answers
395 views

Customize the search display template to show picture with the results

I'm using contents web parts to get documents from specific document library. And I already customized "Item_Default.html" in order to add lines and show discriptions next to Managed Properties. ...
1
vote
0answers
49 views

SP 2013 - Content Search WebPart with Refiner - Auto apply a default refiner

I have a page with content search webpart and refiner webpart attached to it. The content search webpart shows data for many years. I have a refinement panel which shows all the years. Now i want a ...
2
votes
2answers
360 views

SP 2013 Content Search webpart change data based on Drop down list selection

In my page there is a content search webpart which displays data for each year. Now I have a drop down list in that same page (lets say inside a Content editor) which shows all years ie 2014,2013,2012 ...
0
votes
1answer
491 views

Content Search Web Part not displaying results

I am trying to use the Content Search Web Part and am having trouble. My query is configured and the test result panel is returning the desired results, yet when I save the web part, nothing is being ...
0
votes
1answer
29 views

How to add controls to the top when extend the content search webpart

I created webpart inherit ContentBySearchWebpart, in this webpart i added a textbox and a button. By default, the textbox and the button are below the content search webpart, how to move them to the ...
1
vote
0answers
70 views

Using page title in Sharepoint 2013 content search webpart query

I'm creating a page layout using Sharepoint Designer 2013. I'm adding content search webparts into the page layout and would like to add a page title to the query in the content search web part. Can ...
0
votes
1answer
54 views

Content Search Query settings in Site Template

We've added a CSWP to a site template, defined the query and added custom display templates with the Control and Item options. However, when we create new sites from the template, the new CSWP ...
1
vote
1answer
64 views

How do I set the content search web part to return no results by default?

I have a content search web part that is optional to use. If a user finds an item through the filtered navigation I don't want them to see the content search web part. If they use the search box I ...
0
votes
0answers
89 views

Programaticlly change the query and the properties in content search web part

I have code that adds a Content search web part to a page. By this code. But the query doesn't return any results. I want that the query will bring data from a sub site on the same site collection. ...
1
vote
1answer
22 views

Does Enterprise Search Center have anything to do with Content Search Results web part?

I've been wondering what Enterprise Search Center has to do with (if anything) Content Search Results web part and/or Content Search web part. Do I need Enterprise Search Center for the queries to ...
0
votes
1answer
95 views

CSWP Paging Not Showing Up

Paging is not showing up on my CSWP. I have a content search webpart getting items from an authoring site (cross-site publishing). There are currently 6 items in the catalog and the "number of items ...
1
vote
1answer
73 views

Conditional formatting in display template in sharepoint 2013

I have a Content Search Web Part (CSWP) that lists two different content-types from a different application. I would really like to be able to make the CSWP show content-type A in green and ...
1
vote
0answers
30 views

Search result preview returns title and url, is there a way to only show custom site columns in the result?

I've got a list with one item (site columns: title, license). Is there a way to retrieve only what's inside license based on the query text? (content search web part) I've tried to use {|License(from ...
0
votes
0answers
40 views

Why does (XSLT-Function) generate-id() not work in SharePoint 2013 Content by Search WebPart?

Is there a reason that some XSL 1.0 functions do not work in SharePoint 2013 Content by Search Web Part? I recently came across the problem that a nested <xsl:for-each> does not work and neither ...
0
votes
0answers
103 views

Content search web part - lookup field - SharePoint 2013

I'm trying to get display lookup fields in my cswp. I know that Microsoft doesn't support this out of the box. But is there a way without having to create a single list without lookup fields? I've ...
0
votes
1answer
87 views

content search, using the 2 lines template, error when using PublishedDateOWSDATE

I wanted to do something really simple. Content search web part on a blog that only displays blog title and published date (PublishedDateOWSDATE). When I put it as the second line, I get an error ...
1
vote
2answers
272 views

Content search web part, how to display a portion of a text field? (blog post)

I have a content search web part that displays a single blog. I have the body area that might contain too much text to display on a main page. What is the easiest way to cut it to 3 lines or a 200 ...
0
votes
1answer
242 views

CSWP query - list all items in a list AND list a spesific item in another list

Is there a way to combine two list in cswp? Get all list items from "car" list Get a spesific item from "plane" list (path:"company/Lists/car" (IsDocument:"True" OR ...
0
votes
0answers
62 views

Search result preview showing RelevantResults(10) when only one item returned - display templates

When I'm trying to change query in a content search web part I get the wrong results count, see picture below As you can see on the picture it show 10 items, but I only get one item listed. This ...
0
votes
0answers
63 views

CSWP - Random Image

I am trying to build a Content Search Web Part that will use an Image Library on another site collection to display an image on a intranet homepage. I would like the image displayed to be a random ...
1
vote
1answer
368 views

How to get the full url of video uploaded to asset library SharePoint

I know this question has been asked before but that didn't help. My client has a requirement to search all videos across site collections and show them in the home page. I'm doing this using a content ...