Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cswp]

The Content Search Web Part (CSWP) is a Web Part introduced in SharePoint 2013 that uses various styling options to display dynamic content on SharePoint pages.

0
votes
0answers
12 views

Custom Item Display templates not generating js file or showing up in web part

I've been working on a custom item display template for a CSWP. I made a copy of Item_TwoLines and renamed the file and tags during editing in NotePad++, then saved the HTML back to ~/_catalogs/...
0
votes
1answer
11 views

How does property mappings work in Content Search Web Part

I am using the Content Search Web Part to display some drone photos. In the shot below, it is showing each building with the File Name and the date/time of the photograph beneath it. I would like to ...
0
votes
0answers
9 views

SharePoint 2013 - Unable to crawl items from Content Search Web Part

I have a content search webpart which contains items from a document library. The changes which are made to the items are not getting reflected on the CSWP. I search the items in the crawl log, i ...
0
votes
1answer
22 views

Populate page dynamically with field contents from a list

I have a Sharepoint list "SiteInfo" which has the following columns:- Site Name IP Address ISP Username I would like to be able to do the following:- On my main SharePoint site page, I'd like a ...
1
vote
1answer
32 views

Search display template for content search web part for task aggregation

In a site collection, I have about 4 task list setup each on separate subsites. So on the root level, I am using a content search web part and through query, I am showing tasks from all of these 4 ...
1
vote
1answer
264 views

how to create custom managed properties and map for CSWP in sharepoint2013/online

Please Please I need help. I am pretty new to the content roll up web part and all about crawled and manged properties stuff. I have no access to SP2013 onprem central admin so trying to achieve this ...
2
votes
2answers
218 views

Content Search Web Part filter by user properties on Multi-Choices field

I'm trying to filter a content search web part by using the current user's office value {User.Office} imported from AD. I followed Ben N.'s example here: https://en.share-gate.com/blog/filtering-...
0
votes
0answers
40 views

What is the query variable to reference a subsite's STS_Web property?

I'm looking to create a content search web part on the home page of a subsite that displays documents from the current site collection, matching a particular content type. I'd like to return only the ...
0
votes
0answers
63 views

How to filter CSWP on lookup columns

I have a suspicion that this is not an OOTB feature, without requiring some dev customization, but here goes. Is it possible to specify the query on a Content Search Web Part to filter on data that ...
1
vote
1answer
252 views

How to show users “My Open Tasks” with due date in SharePoint Online

Microsoft decided to remove task aggregation known from SharePoint 2013 when releasing SharePoint 2016. In SharePoint Online this pretty good feature is missing as well. Can anyone tell us what ...
2
votes
0answers
167 views

List up files shared with me

On a SharePoint 2016 on-prem based Intranet I want to list up files that are shared with me (the logged in user). I don't want to list up documents the user has contribute permissions on, but want ...
0
votes
2answers
215 views

Using CSWP and getting Group By

I have around 20 libraries with about 2.000 files each. The content is being organized through the use of a Drop Off Library and metadata (Example: Department). This content is being shown and ...
2
votes
0answers
33 views

Content Search Webpart Query for getting items from the list where a particular field is empty

Can someone help me with the query for retrieving list items using CSWP where a particular field value is empty. I have tried the query in the way to exclude a* b* ....z*. It works. But need a better ...
0
votes
0answers
699 views

HTTP 400 Request Headers Too Long when viewing profile images in CSWP

I have a Content Search Web Part teed up in a SharePoint Online site that is returning just people results. The search is looking for users within a specific department. This is working great as I am ...
2
votes
0answers
56 views

Unable to create custom Web part properties for custom content search web part in sharepoint 2013?

I tried to create custom web properties for custom content search web part Extended CSWPby using [WebBrowsable(true), WebDisplayName("Page Title"), WebDescription("Title displayed on the page"), ...
5
votes
2answers
321 views

Table of Content through CSWP in SPO

I'm trying to build a site map for my site collections, let's call it for the purpose of this topic a secondary navigation menu. Think of the "You are here" type of map, with the structure of a table ...
2
votes
1answer
147 views

Audience Targeting web part property missing while exporting the content search web part?

I customized the CSWP then I exported that web part, After Exporting the CSWP web part the Audience targeting property is missing Which is from the Advanced section. I am not sure why that property is ...
1
vote
1answer
68 views

Content Search Web part not working properly for integer type of managed property

I have Site Column of type Number, Sharepoint Default created a managed property in Text type, So I created a custom managed property in the type of integer and mapped to that crawled property. CSWP ...
1
vote
0answers
32 views

Sharepoint Web part properties will not cover in Site Template?

Whether SiteTemplate will include all the CSWP web part Properties or not? I referred this link Site Template I am clear about uses and supports of the Site template, But I am not sure whether it ...
1
vote
1answer
59 views

Content Search web part properties are not updated while creating the site using Site Template?

I took site template with Include content, In that template, there have several custom web parts and CSWP web parts. By using that template I created one site, All the custom web parts, and CSWP added ...
0
votes
1answer
395 views

content search web part (slide show) with black background

I have been trying to find the correct code inside the standard template to modify the content search web part (slide show) background color from black to something else. I do not find anything in ...
2
votes
0answers
36 views

Assigning the result of the query variable to another query variable in CSWP

I am using content search webpart. I have the query that fetches all the items from a list like (HRDepartmentOWSTEXT:"a*" OR HRDepartmentOWSTEXT:"b*" OR HRDepartmentOWSTEXT:"c*"...so on). Here "...
1
vote
1answer
299 views

Advanced Mode not displaying in Content Search Web Part “Change Query”

I am having an issue with SharePoint Online. I am trying to integrate CSWP into some pages within a SharePoint site. However, when I attempt to change the query to modify the results, the ability to ...
3
votes
2answers
2k views

Filter multiple Content Search Web Parts with a refiner web part?

I have two Content Search web parts and a refiner web part on a web part page. I would like one CSWP to display list items from one list and the other CSWP to display documents from a document ...
0
votes
1answer
428 views

Is there a library of example display templates?

The standard sharepoint display templates for the CSWP are very limited. I would assume that someone has already made and shared some display templates for general document searches. Are there any ...
0
votes
1answer
196 views

How to pass term guid to CSWP through query string

I'm following this tutorial on how to use kql to query against terms. I've set up a page with a content search web part and in the query builder I've entered this owstaxIdLocation:GP0|#ad491ed9-...
0
votes
1answer
46 views

CSWP to show results based on Subsites

Environment: SharePoint 2013 I have 05 Subsites Example: 'code' - ABC - XYZ - Project1 - Finance - Administration 'code' Please suggest what should be the search criteria for CSWP to pull the ...
1
vote
0answers
363 views

How can I make the hover panel(for CSWP 2013) allow for displayed properties to be selected from web part options like an item display template

In an item display template you are give a lookup/dropdown list for properties to display from the content search web part. I want to understand how these are properly encoded and displayed using ...
1
vote
0answers
631 views

Query Builder KQL return only items/folders at top level

I'm using content search webparts with cross-site publishing in an on-prem SP2013 site. I've got a result source that is limited to a specific library using Query text: {searchTerms?} (contentclass:...
0
votes
2answers
36 views

Which Webpart to fetch data from Multiple Columns in Multiple SPS 2013 List? [closed]

I want to show specific data from specific columns in Multiple SPS 2013 List. Based on my research so far, the option to build it revolves around: a) CQWP b) CSWP c) DVWP (Data Vew Webpart) Looking ...
0
votes
1answer
249 views

Custom Managed Property Not Working in Content Search Web Part

We have some custom managed properties, linked to additional User Properties in our Office 365 SharePoint User Profiles. If I add a CSWP to a page within our main site collection, I am unable to use ...
4
votes
1answer
700 views

Project Dashboard in SharePoint 2013

I`m working on building a Dashboard to show data from multiple SharePoint 2013 Lists on to the Intranet homepage. Please check the screenshot for better understanding - MY research so far has got ...
1
vote
1answer
90 views

CSWP not working in SharePoint 2013

I`m trying to use CSWP in SharePoint 2013 to showcase data from specific Content type: PMDASH However its not pulling any values Screenshot no. 1: Screenshot no. 2: Troubleshooting: Ran Full ...
0
votes
1answer
231 views

CSWP to show SPS2013 List Item

I`m using CSWP for the first time and tried with basic and advanced mode. But cant find anything that can help to get specific Item from SPS2013 List. Please suggest what should be the search criteria....
0
votes
1answer
40 views

Set Content Search Webpart to 1st result page

I'm using IssueQuery() in my JS to refresh the results of my CSWP. The problem here is that if I chose second page and then use the same method, the results are not displayed on first page and are ...
1
vote
1answer
317 views

How to use Current Year in Content Search Webpart

I have a requirement where I need to show items where Date lies in current year. So it would be like : Show all documents created in current year. Is there a way to create a Today() managed property ...
3
votes
0answers
618 views

Align web parts vertically in a web part zone

I have a page layout with the web part zone. The webpart zone is supposed to have 2 webparts - CSWP and Content Editor webpart. I need to place the CSWP above the Content Editor. I need to set the ...
1
vote
0answers
163 views

Unable to add Content by Search web part in Web Part zone in custom page layout

I am working on a custom page layout where I need to add a Content By Search web part in a Web Part zone but I am unable to do so. The following is my code: <WebPartPages:SPProxyWebPartManager ...
3
votes
1answer
508 views

Office 365 : CSWP & Display template : display custom image when no results

I'm a little stuck on a problem where i'm sure you could help me : What i want : I want to add a Content Search Webpart to a page, which check all the items added today in a certain Image Library ...
3
votes
1answer
399 views

How to get top rated pages in content search web part

Hi I'm working on Content Search Web Part in SharePoint 2013. I've configured and getting document from all site collection. Now I want to get Top rated documents in Content Search web part. For ...
3
votes
0answers
107 views

CSWP Picture URL

I have a site with a CSWP which lists certain sites. I would like to have a logo next to each site name. I have tried passing my url into the picture url field but the logo doesn't show up Can I ...
0
votes
1answer
76 views

CSWP Blog profile picture

I would like to create a Content Search Web Part that displays the user profile picture of each blog entry/creator next to the blog title from a Team Blog site (and roll that up to display the latest ...
3
votes
1answer
80 views

How to add an arrow to CSWP results

I used CSWP to show different document uploaded on the site. You can set a limit to show upto 50 items, but what if i want to see more? Is it possible to add a navigation arrow to change pages? And ...
3
votes
1answer
1k views

getItemValue() getting the value twice?

I'm working on a Content Search WebPart which displays a list of pages. The third line, in my properties, returns a PublishingPageContentOWSHTML. But is it normal that its value appears twice, once ...
0
votes
1answer
96 views

Add Site Column as Managed Property to CSWP Display

Hmm, I have a content type for News with a site column called "Abstract" (multi line text). I have added the column as a Managed Property in the search schema and selected it for the Property mapping ...
2
votes
0answers
96 views

Using content search web part to build a site navigation (SP 2013)

Problem: I've got a site with 15 subsites, each which in turn has many pages. I want to use a content search web part to query all sub sites, and display each sub site as a heading, with the three ...
0
votes
2answers
527 views

Content Search Webpart and anonymous users

I'm having a Content Search Webpart in my publishing page (SharePoint 2013) searching for contacts in a contact list depending on a field value on the publishing page (field of type managed metadata). ...
0
votes
0answers
132 views

Duplicate results in Result Source, CSP, Search

We have a cross-site publishing environment set up. On the authoring side we have our ContentLibrary which contains custom docset content types. On the publishing/user facing side, we've connected ...
7
votes
3answers
12k views

What features do I have to activate to get Content search web part (CSWP)

I thought that by enabling: SharePoint Server Publishing Infrastructure (Site collection feature) SharePoint Server Standard Site features (Site feature) I would get the content search web part, but ...
0
votes
1answer
102 views

Get the same display templates for CSWP as for search results

Is there any easy way to use Content Search Web Parts but to be able to use the exact same display template as already defined for search results? I tried copying the .aspx files (control and list) ...