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

0
votes
1answer
13 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
24 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
18 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
10 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
16 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
25 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
33 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
30 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
33 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
24 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
46 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
42 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
76 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
45 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
134 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
35 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
27 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
27 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
84 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
69 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
105 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
135 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
80 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
23 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
358 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
45 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
286 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
382 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
27 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
65 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
48 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 ...
0
votes
1answer
56 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
82 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
20 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
88 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 ...
0
votes
0answers
58 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
35 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
90 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
82 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
231 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
212 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
60 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
57 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
330 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 ...
0
votes
0answers
28 views

How to realize a cascading search

In my actual Project (SP2013) we have a portal that shows article page that are relevant for the current user. We have a taxonomyfield "Userlocation" that is mapped to the user Profile and article. ...
0
votes
1answer
198 views

Content Search Web Part - Some Query Conditions Just Don't Work

I have a content search web part in a catalog item page which I want to return the next List Item(s) in a specific category. I am using term driven navigation with the following URL format: ...
0
votes
1answer
243 views

Content Search Webpart not getting Picture URL

I've built a DisplayTemplate (ItemTemplate) for a ContentSearchWebPart. It works quite well for different fields, but I don't get my PublishingImage from the pages I'm querying. The ...
1
vote
0answers
51 views

PublishingPageContentOWSHTML not displayed properly in content search query

I am using standard out of the box templates of Content search query types and while using the attribute PublishingPageContentOWSHTML to display the text of the page (what is in the 'Page content' ...