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
0answers
11 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
14 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
0answers
34 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
27 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
17 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
25 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
16 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
104 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
19 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
51 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
85 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
18 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
36 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
26 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
28 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
54 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
19 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
56 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
41 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
24 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
27 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
69 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
59 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
151 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
104 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
43 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
41 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
208 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
26 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
135 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
144 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
34 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' ...
1
vote
1answer
436 views

Using Content search web part to retrieve items from another site collection

I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:- -http://applicationname/teamsite -http://applicationname/enterprisewiki Now I ...
0
votes
1answer
33 views

Wrong web part when trying to insert custom Content by Seach web part CSWP - visual studio

I'm trying to provisioning a content search web part. I've made a site feature and a standard web part (xml and webpart file). When I activate the feature I get the web part but it's not a Content ...
4
votes
2answers
180 views

Managed properties missing in the search results webpart when not using the querystring

When using the search results webpart without the querystring (For instance when trying to use managed metadata navigation) I am unable to view custom managed properties AND am unable to see any ...
1
vote
0answers
61 views

How can I have a list item from another host name site collection open in a modal dialog and function properly

Good Afternoon. I am using a Content search web part to pull list information from a different site collection and provide the results in a modal pop up. I have been able to accomplish displaying the ...
0
votes
4answers
474 views

Content Search Web Part not showing up on a page

We are using O365/Sharepoint Online 2013 as our intranet solution. I've been trying to use CSWP to get a rollup of the few most recent discussions on the discussion board to show up on the intranet ...
0
votes
2answers
730 views

Multiple, Relative “Path:” in SharePoint 2013 CSWPs

In pre-launch preparation phases; am attempting to convert CSWP "page rollup" queries from absolute paths on our staging site to relative paths, so that when we cutover we don't have to update all the ...
1
vote
2answers
248 views

Editing a page template in Sharepoint Designer breaks Content Search Web Parts

We have a sharepoint 2013 running utilizing document set homepages as core part of our site. For example, we have CSWPs on this site which display related items and recommendations under the "normal" ...
0
votes
1answer
83 views

SharePoint 2013 CSWP TrimDuplicates:false not working

I have a content search WebPart on which I have set the property TrimDupicates as false and even then I am not getting the duplicate results. What should be done to get the duplicate results as well. ...
1
vote
0answers
48 views

SharePoint 2013 IE8 CSWP Trimming text by default

I have a Content Search WebPart which displays a single line text field on it. It shows up fine in IE10 but when I open it up in IE8, it automatically trims the text to about 50 characters. How can ...
0
votes
0answers
93 views

CSWP Paging (Page title issue)

When I create a display template with paging and click the next page it will change the Page Title of my aspx page to "Search Results:". Any way to overcome this?
1
vote
1answer
241 views

SharePoint 2013 CSWP Refresh

I have a situation where I need to display announcements based on year and month. On the page I have a dropdown essentially for Year and Month which will drive the Content Search Web Part. Using query ...
0
votes
1answer
656 views

How to use the Content Search Web Part to filter on a custom column property?

I am quite new to SharePoint 2013 and I have been working lately with the Content Search Web Part. However I haven't been able to make possible a filtering through a custom column that I have on a ...
1
vote
0answers
51 views

How to filter listview using webpart?

We have a list view webpart on a page. I want to create a textbox webpart and pass data into the list view webpart and filter it based on this data. Is there OOTB method? Or do I develop a VS ...
0
votes
0answers
116 views

Content search web part. Pass parameters

With the content search web part is it possible to pass (configuration) parameters? I have a custom display template for use in the content search webpart. It displays a bunch of custom properties of ...
1
vote
1answer
108 views

Link from another site collection using a Content Search Web Part is incorrect

I have created two site collections, one as an authoring site and another as a publishing site. The authoring site is enabled as a catalog and I am trying to use cross-site publishing to display a ...
0
votes
1answer
54 views

Publishing site, CSWP and Search

We are using the Content Search WebPart on a page in a publishing site to show items that are in another site collection. If a person searches the site the CSWP is on they do not get any results that ...
0
votes
0answers
40 views

Content Search Webpart

I don't have Content Search WebPart and i really need it. what are the steps i should take in order to have it. my version of my tenancy: vti_encoding:SR|utf8-nl vti_extenderversion:SR|15.0.0.4420 ...