Questions tagged [content-search-web-part]

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 snippets of HTML and JavaScript that render the information returned by SharePoint. The information to be displayed gets inserted into the page in JSON format.

Filter by
Sorted by
Tagged with
10
votes
1answer
5k views

How do you set the default empty text with the content by search webpart?

I'm using the content by search webpart. I would like it to display a message when there is no matches, seems simple right? I've pulled my hair out trying to figure this out, and i'd appreciate an ...
10
votes
0answers
421 views

Content search and content type

In SP 2013 on-prem publishing site, I have a Content Search WebPart that shows a list of pages by querying for the custom content type id, and it worked fine until I edited the navigation settings on ...
9
votes
5answers
5k views

Relative URL in CSWP

I have a Content Search Web Part, and I want to set it to search in a particular library. I see that when I write a relative path in the query - I do not get results, only when I write the full path ...
7
votes
3answers
14k 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 ...
6
votes
1answer
1k views

Best Way to create Custom Poll Web part in sharepoint 2013?

I need to create a custom poll web part, My requirement is User able to responds the poll, the admin needs to create a poll question, He needs options to choose the poll options type (checkbox, radio ...
5
votes
5answers
13k views

How to check correct Crawled property for a list column

I have a couple of list columns such as Status, DeptName in my List. But when I am looking for crawled property associated to these columns in Search Schema, I see a list of so many crawled properties ...
5
votes
2answers
2k views

Can I sort my sites using their Title inside my content search web part

I have a content search web part inside my sharepoint 2013 on premises site. The content search web part will show all the sub sites I have inside a site collection .. now everything is working well.. ...
5
votes
3answers
11k views

Content Search Web Part missing?

I'm working with SharePoint online and have the requirement to aggregate content from subsites into a top level site. When I go to add the content search web part it is not available in the web part ...
5
votes
2answers
646 views

Adding query to lookup the values of the list in search webpart

I have the main department as "Finance" and under that there are several sub departments like "Finance and Accounts","Economics",etc.,The SharePoint users are allocated with their specific department ...
5
votes
2answers
13k 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 ...
5
votes
2answers
757 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 ...
5
votes
1answer
893 views

Extending the Content Search web part; adding more fields & change the display template

I am working on a sharepoint server 2013 enterprise edition. and i have 2 site collections; http://servername/ & http://servername/depts . where the later site collection contain multiple sub ...
5
votes
2answers
4k 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. Now ...
5
votes
3answers
4k views

Difference between Content Search Web part and Search Result Web part

I know that Content Search web parts(CSWP) is available only on Enterprise edition. And other great features as compared to Search Result web part (SRWP). When would it be preferable to use either of ...
4
votes
1answer
1k views

Display template not updating outside server?

We have a SharePoint on-prem 2013 farm with 2 app, 2 WFE, 2 search and 2 SQL servers. We recently updated a display template and added a new Content Search web part. While we can see that new ...
4
votes
2answers
3k views

Grouping does not work in CSWP

I configured CSWP and set grouping by one of my managed properties, And I see that the results did not grouped. Am I missing something that should be set up so that grouping will work? EDIT: I ...
4
votes
1answer
2k 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, ...
4
votes
1answer
2k views

LastModifiedTime managed property inside my Search Result web part will not get updated when editing word document properties

I am working on an on-premises farm 2013. and i have added a Search Result web part, which should show documents from multiple documents libraries. now one of the properties i am showing inside the ...
4
votes
2answers
4k 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" ...
4
votes
1answer
74 views

Not getting Task List Columns under crawled Property

I am not able to get the task list fields in my crawled property. I have a field in the task list named "Related Content"and this is a default task list column. Even after running a full crawl I am ...
4
votes
1answer
868 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 ...
4
votes
3answers
3k 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 ...
4
votes
1answer
3k views

Display Related Items Based On Search Context

We are building a website on SharePoint 2013 using the new cross site publishing and search features. We want to implement a "Related Items" feature using the Content Search web part in tandem with ...
4
votes
1answer
320 views

Sort my Sites By Rank (using the Popularity Ranking model) inside my content search web part? what are the factors which affect the Rank

I am working on a SharePoint on-premises farm. and i have added a content search web-part, which will show sub-sites for my site collection. now inside the sort i chose to sort by Rank as follow:- ...
4
votes
1answer
2k 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 ...
4
votes
1answer
1k views

No Display Templates for Popular Items web part from Search-Driven Content category

I have a Popular Items WebPart on my site and in the Display Templates these things are selected: I have saved this site as template, via Save Site as Template option, and created a new site from ...
4
votes
1answer
1k views

SharePoint 2013 - Display templates - get the web part zone - web part properties / parameters

Is there a way to list what web part properties the actual display template is using? I want to display what web part zone the display templates are using? This without iheriting the ...
4
votes
0answers
727 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 ...
3
votes
4answers
7k views

Managed/Crawled Property for Site Collection “TITLE”

I am trying to find a managed / crawled property in SP2013 O365 that will give me the actual "name" / site title of the Root Site Collection. I can get the URL using "SPSiteURL", but is there a ...
3
votes
3answers
5k views

Is there any option in SharePoint 2013 Office 365 to do Full Crawl or Incremental Crawl or Continuous Crawl?

Is there any option in SharePoint 2013 Office 365 to do Full Crawl or Incremental Crawl or Continuous Crawl as On-premises SharePoint 2013. If there is no option to do so ?? then what is the best way ...
3
votes
2answers
5k views

How to pass parameters to the Control display template of a Content Search web part?

Using SharePoint 2013 I have a Content Search web part that I'm using to display 5 News Articles using the following display templates: Control: List Item: Picture on Left, 3 lines on right And this ...
3
votes
2answers
2k views

Unable to use $getItemValue for a field not defined inside the properties mapping , inside Display Templete

I am working on a custom template which is being used inside a Content Search WebPart inside my team site collection. now the display template provide the ability to render a dialog beside each item , ...
3
votes
1answer
443 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
1answer
84 views

Link Document Library to Search Filter

I have a SharePoint Content site which also has a document library. The document library has columns that classify the document. I am trying to (on the homepage of the content site) add a Search ...
3
votes
2answers
361 views

SharePoint Online - How to update query of an existing content search webpart?

Context : SharePoint Online, using CSOM C# or Powershell I have a content search webpart (CSWP) on the homepage of a website. I need to edit the query of my CSWP programmatically. Why ...
3
votes
1answer
849 views

overrideValueRenderer($urlHtmlEncode) inside my Display templete does not have any effect

I found the following function overrideValueRenderer inside our custom display temple, as follow:- <mso:ManagedPropertyMapping msdt:dt="string">'Link URL':'Path'</mso:...
3
votes
1answer
1k views

CSWP Query: How to concatenate a string to query variable {Site.URL}

I want to limit a query in a Content Search Web Part to just the Pages library of the current site (exclude any sub-sites). Is there anyway to correctly concatenate "Pages" to the query variable {...
3
votes
1answer
5k 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 contentclass:"STS_ListItem")) ...
3
votes
1answer
86 views

Content Search Webpart Custom Image

I am using the content search webpart to show a list of Project sites using the template ID, I would like to have a custom image next to each project, currently it is showing the Project Site logo ...
3
votes
1answer
2k views

what is the difference between ows_q and ows_q_text

When I try to create a managed property in Search and I try to select a crawled property, I get two sort of crawled properties for the same site column. ows_q_TDC_x0020_Article_x0020_Number and ...
3
votes
1answer
6k views

Managed Properties not available as Refiners on Content Search web part (SharePoint Online)

I have managed metadata site columns where I’ve mapped the ows_ crawled property from a library to ‘RefinableString’s in the search schema. The ‘refinable’ box is ticked and I did this a few days ago ...
3
votes
4answers
2k views

No search results are showing up for catalog items in the consuming publishing site

Cross-site publishing seems like the best way to set up a news site for our intranet. I followed a couple of blog posts that explain how to set up an authoring site using a product catalog site ...
3
votes
1answer
90 views

How to extend search count in content search Web part?

I have created the sharepoint 2013 content search web part. it shows only maximum of 50 results , i need to extent the count upto 200. is possible to do it in extended content search web part without ...
3
votes
2answers
429 views

Sharepoint 2013 'Change Query' button does not work in Content Search Web Part

I'm trying to change the result source of Content Search Web Part, but when i click on the button 'Change Query', in web part properties, the page postback and the dialog does not showing up. In ...
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 ...
3
votes
1answer
403 views

Is it possible to crawl list for every 5 minutes in SharePoint 2013?

Is it possible to crawl custom list data for every 5 minutes in SharePoint 2013 to retrieve latest results. I want to use content search webpart to display results from list, I need results within 5 ...
3
votes
0answers
82 views

Which content source is responsible for updating the NumComments field?

We're running SP13 and have a news functionality based on the standard blog site template. A content by search web part is being used to roll up the content and display it on the homepage. We copied ...
3
votes
0answers
126 views

Filter content search by date and time of creation

I'm using a content search web part to show news on my site. I want to show the items following a publishing date and time. I know there's the parameter StartDate <= {Today}. How can I make it ...
3
votes
2answers
2k views

Content search config: not able to filter by date

I have built a simple content search web part based on a blog (posts). When it comes down to filter by published date (there are blog posts published 'in the future' that do show up in the query ...
3
votes
2answers
1k 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 ...

1
2 3 4 5 6