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
1
vote
0answers
153 views

SharePoint 2013 - content search webpart results - on hover

How can i disable the 'hover content' when the user mouses over a content search result (please see image attachment). This is a content search query webpart pulling results from the blog/news I ...
0
votes
1answer
490 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 ...
6
votes
1answer
2k 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 ...
1
vote
1answer
59 views

Is it necessary to have the Publishing features enabled, to be able to Add and Use Content Search WebPart

I am working on sharepoint server 2013. and i have added a Team site collection under the root http://servername/ and i did not enable the publishing site collection feature. now i wanted to use the ...
0
votes
0answers
76 views

cswp on a blog: how to display the categories

Sharepoint on line. I am struggling with standard content search web part and displaying the categories line. I have used a refinablestring and mapped to ows_postcategory. Nothing is showing up.
1
vote
1answer
30 views

Return result 4 through 8 in SharePoint search query

I have a request to have two Content Search web parts on a page. The first returns results 1 through 3, the second returns 4 through 8. They both pull from the same announcement list. As I am new to ...
1
vote
1answer
916 views

Change error message " Something Went wrong" in SharePoint Online

I have used Content Search webpart on my page. If something does not load, it give message: Something went wrong. I want to customize this message to show some user friendly message in SharePoint ...
0
votes
1answer
469 views

Filter Search source/results by list's choice column

Hello Sharepointers, I've created a Discussion List, with a choice column where users must specify either Internal or External (our discussions will either cover internal or external issues). When ...
2
votes
2answers
1k views

Two wildcards in search query path?

I have managed path called "projects" and site collections for each year (2016, 2017) and each project site path has the prefix proj- For example my path can look like: mysite.org/projects/2017/proj-...
0
votes
1answer
20 views

Roll up all children pages (1 level down) as a result on a current parent page

I'd like to roll up all children publishing pages (1 level down) on a current page. All publishing pages from site and its subsites are linked to terms nodes as the global site navigations in a ...
0
votes
1answer
47 views

Sharepoint 2013 searching profiles

I am trying to set up my sites search. We have a page called myprofile.aspx where we can see the profile information obtained from the sharepoint Rest API user profile service based on query string ...
0
votes
1answer
711 views

Get webpart properties within display template

Is there anyway to get the webpart properties from within a display template html file, such as the Title in the Appearance tab as shown below or any properties under the Advanced section. I would ...
0
votes
3answers
2k views

Content Search Webpart not displaying results on the page on SharePoint Online

Content search web part is not returning the results when added to the page in SharePoint Online. Even though I am able to see the results in the 'Search Result Preview'. But when I click OK and save ...
0
votes
1answer
364 views

Search Box and Search Result not showing on Basic Page Layout

I created a page layout based the Basic Page Layout, after that I have added a web part zone and two webparts in it. One Search Box web part and another Search Result webpart. Strangely the first ...
0
votes
1answer
939 views

Adjust content search picture web part size

I created a content search picture web part. But it seems displayed not so good as I want. There is a black space in the bottle. And there is a blank area in the right side as below shown. How should ...
1
vote
0answers
41 views

Content search picture web part unavailable

I want to create a Rotating Banner in SharePoint 2013 with content search web part. When I create the picture library url in this web part. The "RelevantResults" displayed "0" in the right side as ...
1
vote
0answers
98 views

Modify my Content Search WebPart Display Template to show only specific items based on their subsites

I have the following sites and lists:- Department list inside my site collection root site. Module List inside a sub-site. Each Module item is linked with a department item through a lookup field. ...
5
votes
2answers
661 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 ...
1
vote
0answers
267 views

How to use the 'alias' property in the search schema

I am trying a simple content query to roll up blogs. I am using the 2 lines, first line for title (working) and second line for Published ( = publisheddate). I have mapped ows_publisheddate to ...
3
votes
2answers
457 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 ...
0
votes
2answers
174 views

Content search web part required for Crawl

I have created the Content search image slider web part in SharePoint 2013.I have added the images . but the images are not showing in Image Slider.It's showing only After completing the "crawl".Start ...
1
vote
1answer
1k views

O365: managed property: managed property only text and yes/no

I need to create a managed property in SP online (E3). When I click on create, the options I have available for type of data are only Text and yes/no. All the others are grayed out. I need date and ...
3
votes
1answer
904 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
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 , ...
2
votes
0answers
415 views

My search result webpart is not displaying sites correctly with query

I have a Search result webpart on a site and its behavior is not working correctly. Here is the Query: contentclass:STS_Web AND Path:"https://company.sharepoint.com/sites/Projects" AND NOT Title:"...
0
votes
1answer
838 views

Should I include the Default & Intranet zones url inside my search service crawl urls

I have the following alternate access mapping & zone settings for our SharePoint 2013 web application, :- So mainly we can access our web application using both:- Default zone using this url ...
0
votes
1answer
3k views

"Sorry, something went wrong" on content search web part for users with Read permission

I have the following:- Team site collection with publishing features enabled. Inside the Team site collection home page I added multiple content search web parts (6 content search web parts). When ...
0
votes
1answer
747 views

Content Search web Part is showing duplicate results when i access my web application using the url which is defined inside the Default zone

I am working on a SharePoint 2013 server . now we have the following alternative access mapping settings inside my central administration :- Where inside the Default zone the http://SPS01/ is our web ...
0
votes
1answer
405 views

Does sharepoint provide a managed property which show a more user-friendly date format for the Created column

I am working on building a content search web part inside sharepoint 2013. and inside the content search web part i added the built-in "Created" managed property name, as follow:- now the result for ...
0
votes
1answer
50 views

Content Search Webpart giving no results of new added documents

I uploaded couple of new documents to Document Library in Draft status. I want them to be displayed in order in Content Search query. I added the query string to search by Title but I have no results. ...
2
votes
1answer
1k views

The Enhanced rich text Description column is being displayed with all the HTML tags showing explicitly, when rendered inside a Content Search Webpart

I added a new content search web part inside my sharepoint 2013 team site , and i added the following managed property CommentOWSMTXT to show the items' Description field inside the content search web ...
0
votes
2answers
147 views

what are the differecnes between these two managed properties; Description & DescriptionOWSMTXT

I am building a Content Search Web Part, and inside this Content search web part i want to show the list items Description. so inside the Content Search web part i found these 2 managed properties :- ...
0
votes
1answer
77 views

How a Property name inside my search query can referecne different site columns from different site collections

I am building a search query inside my search content web part, as follow:- where in my case i have three site collections:- http://servername/ http://servername/Wiki http://servername/Dept And ...
0
votes
1answer
111 views

Can not filter my Search results inside my Search Content WebPart based on a Dropdown site columnvalue

I have a site column named Risk/Issue status which is of type drop down and have multiple values, such as; Open, Closed, In Progress, etc.., as follow:- now i want to define a search query inside my ...
0
votes
1answer
2k views

Uploading a custom display template will not have its related .js file created and the custom template is not showing inside the DisplayTemple list

I want to create a custom display template to be used inside my Content Search WebPart. so i follow the steps inside this link. where i mainly went to :- site settings >> Web Designer Galleries >> ...
5
votes
1answer
1k 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 ...
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
128 views

Managed navigation with pinned terms

I have a list of training courses which are tagged with a LearningTopic managed metadata column. Values include thinks like Word, Excel, Photoshop, Phone Skills. This LearningTopic termset is used by ...
0
votes
0answers
424 views

Technique for passing custom value to item template

Using content search webpart and item templates. I want to have an easy way for the user to pass a custom value into the item template, without having to open up the code and edit the template itself. ...
2
votes
1answer
1k views

Resize content search webpart slideshow to fit across page SP2013

I would like to use a content search webpart slideshow mode as the banner across the top of my share point page. When I add in the webpart, it is aligned to the left and only half of the size of the ...
1
vote
1answer
559 views

Can not set the query of ContentBySearchWebPart programatically

I have written below code to provision ContentBySearchWebPart. ContentBySearchWebPart searchWebPart = new ContentBySearchWebPart(); searchWebPart.ID = "g_1ea2d77b_6b6c_4aca_b78f_3165a78884a8"; ...
1
vote
0answers
102 views

Managed Properties Missing in CSWP [duplicate]

I'm having the same issue detailed in this Original Post that unfortunately hasn't found an answer. I've just joined the community hence was unable to comment or reach out to the original poster so I ...
0
votes
1answer
96 views

Content Search Webpart

I am creating a page with a Content Search WebPart on it that display's the subsites that contain a specific name. Query text: SiteTitle:[name] contentclass:STS_Web In testing the query the search ...
0
votes
2answers
1k views

Content Search WebPart: query Date and Time field

I have calendar list, Now trying to query items which are greater than Today. so first I have created new managed property with name EventDate and mapped the crawled property ows_EventDate with type ...
1
vote
1answer
74 views

Cross-site publishing; how to create and crawl related content

Using SharePoint 2013 Enterprise for a Publishing site. This blog post on cross-site publishing contains the following screenshot: It's a Product details page that contains related content such as "...
2
votes
0answers
603 views

Programmatically update the DataProviderJSON Query Text

namespace CSWP { class Program { static void Main(string[] args) { using (SPSite oSie = new SPSite("http://sp14:14583/sites/School")) { ...
1
vote
0answers
41 views

Content Search Web Part - Pictures slider - auto repeat

is there way or setup where it would rotate back to first image. I have about 10 images and it rotates fine however after the last image the webpart is blank. how to fix this? How to enable auto ...
2
votes
0answers
236 views

Time zone issue with CSWP

I'm facing an issue with CSWP date filtering. While refining with date (Publishing Date and Expiry Date) against Current date and time(Using Today), I'm not getting the expected results. Query: ...
1
vote
0answers
79 views

SharePoint 2013 Content Search Web Part tasks aggregation

Is it possible to display current user's tasks that are assigned to groups he belongs to using a Content Search Web Part ? Thanks.
1
vote
1answer
57 views

Content Search Webpart not showing the notepad files in library

I have added content search web part to the site page. And it is showing me the contents that are the word documents. But it is not showing me the notepad files that I have added to the document ...