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 [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.

0
votes
1answer
18 views

Content Search Webpart missing “new” Items from List Query

I've created a Content Search WebPart on my SharePoint 2016 site page, and it's missing items from the list which have the "new" tag on them, meaning they were newly created. The following is what my ...
1
vote
0answers
18 views

Is there a way to allow the “Content Search web part” to show items from on-premises and sharepoint online sites which are based on the same AD

i have the below Content Search web part, which is showing discussion board list items from all our on-premises sites, here is the content search web part settings, where i am defining the on-premises ...
1
vote
0answers
43 views

contentclass:“STS_Web” is not working anymore inside our sharepoint online sites

I am working on a sharepoint online classic team site collection, and inside my site collection classic page, i have added a "content search" web part, to show all the sub-sites, here is my query ...
1
vote
0answers
24 views

Blog posts from a user are not showing to content search web part

On SharePoint 2013, there is a content search webpart that is displaying all the blogposts from all sites. There is a particular user that his posts are not showing up in the webpart. All the rest ...
1
vote
1answer
31 views

SharePoint Content Search Web Part

I have created one Product list which contains "title" and "brand" column. I have created the query for "title" and "brand" in the content search web part by using a query string. If I pass some ...
0
votes
0answers
21 views

JSSOR Slider in SharePoint 2013

I'm using JSSOR to create an awesome slider in Sharepoint. The problem that i can't find the ressources : contrôle-slider-list.html and element-slider-list.html Where i can find the source code ...
1
vote
0answers
23 views

Conditional formating in search display template sharepoint online

Is there any way we can change the property "data-displaytemplate" in search display template based up on condition of the current item . For example when i Hover an item in search i want to display ...
0
votes
1answer
37 views

Content Search web part is missing 2 post items

In SharePoint 2013 on premises, I have added a Content Search Web Part that displays all the latest blogs. The simple query: contentclass:STS_ListItem_Posts and -Title="Welcome to my blog!" I am ...
2
votes
1answer
50 views

SharePoint ContentBySearchWebPart shows OneNote sections instead of OneNote documents

We are using SharePoint 2016. I have added a ContentBySearchWebpart on the welcome page. Here I show the recently added/modified documents. In the search results I see allot of OneNote results because ...
1
vote
1answer
92 views

how to change the content search web part query dynamically in share point 2013 site

In my SP site documents or list items are getting tagged with some taxonomy value. I have a SP Page, where I have added Content search web part and the result shows in search results web part on page ...
0
votes
0answers
45 views

Site Column not appear in meta data Crawl Properties - SharePoint Online

I've created a choice column as site column(Hidepoemdata) and associated with multiple document libraries. I've make Index column for the site column to each document libraries and waited for ...
2
votes
0answers
254 views

SharePoint 2013: what is the use of “customstrings.js”

I have a Content Search web part with a dynamic query on a SharePoint page in our site. When I added this web part it was throwing below error: One or more of the following resource files failed ...
0
votes
1answer
49 views

How do I connect a html search bar to a sharepoint library?

My client asked me for creating a fancy html landing page with a fancy SearchBar, and its done This bar has to find files in a specific sharepoint library. How can I make the custom search bar to ...
0
votes
0answers
15 views

how to filter List items across a site collection with powershell?

We have a site collection and in it there are over 200 libraries. all of the libraries have the same columns (content types are disabled) our HR wold like to know if we can write a excel file ...
0
votes
1answer
306 views

Search across multiple MS Teams sites from one MS Teams site

When a Team is created it automatically creates a site collection in SharePoint for the Team created. I have 16 Teams created hence 16 site collections in SP Online. I am wondering if I can search ...
0
votes
0answers
88 views

Sharepoint Online: how to display a publishing image field in content search web part

I've added a publishing image site column to an announcements list and then mapped the PublishingImage property to the picture url field in a cswp. Same as in this blog: https://www....
0
votes
0answers
21 views

Can i define a query which have NOT(condition1 and condition2) inside my content search web part

I have a content search web part inside my SharePoint 2013 on-premises. and i already have this query:- path:"http://***/***/" (IsDocument:"True" OR contentclass:"STS_ListItem") ( ( -...
1
vote
2answers
30 views

Refresh content search SP Online

I added a Content search webpart on my main site. This query has to show me all the subsbite which are created. It's working pretty well but sometimes when I have created a project, I have to wait ...
0
votes
2answers
31 views

Content search web part to return article pages

My scenario: I have added a content search web part to a page and trying to return pages from the link "https://tenantname.sharepoint/sites/sitename/pages/foldername". I have just created the "...
2
votes
1answer
21 views

DocID as a clickable column in Content Search web part

We use the content search web part with a custom display template to show our documents throughout our intranet based on various criteria such as file type, language, Document Type (custom column) etc....
2
votes
1answer
94 views

How to tweak Search Web Part to open search result to new tab

How to tweak Search Web Part to open /search/Pages/ result to new tab instead of redirecting it on the same page ?
0
votes
1answer
31 views

Script not working for changing number of items to show in content search web part for some users

I have this script to change the number of items to show in CSWP function loadScript(selectObject) { var newItems = parseInt(selectObject.value); var pageUrl = _spPageContextInfo....
2
votes
1answer
273 views

PDF Files not opening when clicked from the content search web part

I wrote a custom display template for a content search web part that shows recent documents edited or modified by a user. I added hover functionality as well to allow users to hover. For some reason ...
0
votes
1answer
24 views

JS code for web template only working for full control user

I deployed the control list with paging and item template for using the with Content Search Web Parts, we have realized that users with no Full Control are not able to run the logic in these templates....
3
votes
1answer
44 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 ...
0
votes
0answers
39 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 ...
2
votes
0answers
33 views

Why pending items and/or pending changes inside our custom list is being excluded/ignored from search

I have a custom list inside our sharepoint 2013 on-premises enterprise farm. now i set the following versioning settings inside our cusotm list:- When someone creates a new item inside the list, its ...
0
votes
0answers
97 views

Managed property not accessible/queryable in CSWP

Here is my issue, I have a managed property with the following configuration Type: text, Searchable, Queryable, Retrievable, Refinable: No, Sortable: No, Safe, Token Normalization and mapped to a ...
2
votes
0answers
70 views

How to show search word count in document within content search webpart?

I have created the SharePoint content search webpart and search box in sp2013. When I search the world using search box the content search webpart will show the document results based on the word I ...
0
votes
0answers
27 views

Time zone displaying in Content Search Web Part custom mapped property

Having an issue with my CSWP displaying the full time zone info for a custom property mapped field. The actual time and date is accurate, I solely want to fix the aesthetic of the display. Chrome ...
1
vote
1answer
383 views

Navigate to link on image click in content search web part SharePoint Online

Using Content Search Web Part, we are displaying images from picture library.When I click on a image it is redirecting to image's display form but what I need is it should redirect it to specified ...
1
vote
1answer
18 views

Content By Search Webpart

I am looking into the differences between SharePoint 2016 Standard and Enterprise. Is the Content By Search Webpart in SharePoint Server 2016 still a Enterprise Webpart?
0
votes
1answer
189 views

SharePoint Online CSWP - Limiting Search Results to the root site collection

I'm working in a SharePoint Online setup where https://domainname.com is being used as root site collection of the organization to host intranet content and then they created site collections for ...
0
votes
0answers
105 views

How to change number of items to show using display templates in Content Search Web Part?

I'm using CSWP and I want to implement a navigation bar from where the user can customize the number of items to show (dropdown list) in the current page (this setting is configured in the web part ...
0
votes
1answer
20 views

Search Core Results - what is generating the link to update my profile?

I have a SharePoint 2010 "Search Core Results" web part on each departmental site for my company to show the employees in that department. Each web part appears to be identical, with only the "Fixed ...
0
votes
1answer
16 views

SharePoint 2013 Search is not returning result

We are using SharePoint 2013 on-premises enterprise version. The search function on our site not returning results and ending up with no resource found. Before a week it was working fine but now it's ...
0
votes
1answer
32 views

Some Content Search web parts have RefinableString01 available, and some don't. Can someone tell me how to get it available universally?

I have Content Search web parts on several different pages (SPO). In the Refiners list, sometimes the RefinableString01 is available, and sometimes it isn't. Can anyone tell me how to make it ...
0
votes
2answers
34 views

How can I get my out of the box search to return result.only for the last 3 years

How can I get my out of the box search to return result.only for the last 3 years Thanks in advance
0
votes
1answer
102 views

How do I add refiners to my site for the Content Search webpart?

I figured out two years ago how to add refiners to the Content Search webpart. I don't remember how. I put in a ticket with MS and with the company that does our development work. Neither of them ...
2
votes
0answers
162 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
58 views

Search Crawl rule for single site library

I have SharePoint site collection with multiple sub sites. I need to write crawl rule for searching the content for the particular sub site alone. Is it possible in SharePoint 2007? If yes,could you ...
0
votes
1answer
69 views

How does Content Search WebPart do the User.Name comparison? based on Account, Name or GUID?

I have the following issue inside my SharePoint 2013 farm, regarding usernames' properties. I have test farm + live farm. both farms are integrated with the same Active directory. For some users i ...
1
vote
0answers
162 views

Can you use a lookup column to filter results in a content search webpart?

I am working on a site in Sharepoint 2013 and I have created a content search webpart in a page layout used for multiple pages. I want to be able to display items from a list that are associated with ...
1
vote
1answer
188 views

How to show Documents shared with me in SharePoint Search

How can we refine documents shown in SharePoint Search, by documents that are shared with me so that whenever any user open the search page, he only sees documents that are shared with him.
0
votes
1answer
409 views

Sharepoint 2013 Display publishing hyperlink field using content search webpart with custom display template

Currently working on a site in Sharepoint 2013, I have created a custom item display template to display links to related pages across the site on a page via the content search webpart. The items are ...
0
votes
1answer
136 views

Trouble searching and refining mapped managed property

I have a search web part Employee Directory that I'm working on. To refine & search by office location, I put the values in on-prem AD under "Office" or "physicalDeliveryOfficeName" in attribute ...
0
votes
1answer
1k views

Does New Experience have Search Function?

I had google for awhile now and did not manage to find much info regards to Search functionality in New Experience. Does New Experience have search functionality yet? As I seen request for others for ...
0
votes
1answer
24 views

error with content search webpart

I have a content search webpart added in my homepage and displaying the result. I have added new CEWP in same homepage and link it with JS file which has certain functionality. but this result in ...
0
votes
1answer
399 views

SharePoint online search webpart shows Something went wrong

I have put four SharePoint search web parts on a SharePoint page online, Sometimes for some users when page loads it is showing error something went wrong for a moment. After that, it disappears....
0
votes
1answer
169 views

How to know if it's safe to remove a managed property?

Is there a way to determine if a managed property can safely be removed from Search in the SPO Admin Center? For example, I have "UnitOWSTEXT". It has no crawled property mapped to it. Is this the ...