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
0
votes
3answers
44 views

How to implement Content Search Web Part in SharePoint Modern experience?

In the classic experience i found this official MS documentation (link here), my question is how can I do the same in the Modern experience ?
0
votes
0answers
44 views

How to configure my search criteria to return result based on a custom column using CSWP

I would like to configure my search criteria to return result based on a custom column - The site document library i'm querying is in a different site collection e.g path:"https://mysite.sharepoint....
0
votes
2answers
13 views

Removing a List from a Search

I have a list where new users are added as they input there information. The problem is that if a user do a search they can pull up other users ss. How can I prevent other users from searching in the ...
1
vote
2answers
157 views

How to search only some specific sites using result source - SharePoint Online

I have couple of sites and subsites and would like to create a result source just for these sites. Then my intention is to add a new search webpart or use the existing one but change it to use my new ...
0
votes
1answer
65 views

Cannot seem to access Calculated column in Display Template via Managed Property mapping

Here is my situation: I have a test/development site on SharePoint Online/Office 365 called TestSite3, and within that site a sub-site called TestBlog3 (a Blog site for making Posts). I want to use ...
1
vote
1answer
19 views

multiple libraries, is it possible to retreive in CSWP or similar the files checked out?

In a multiple libraries scenario (400+ in the same site) of files with a content type, I would like to retrieve the elements that are checked out to someone (not a specific person). I am trying to ...
0
votes
0answers
13 views

How to configure sharepoint search for specific lists etc

I have a requirement where they just want sharepoint search to return results from specific lists etc..(and some specific content only compared to the OOTB search result that returns everything) Some ...
0
votes
0answers
13 views

Modern news pages and 'send a digest' with content search web part

Due to specific circumstances, I am rolling up modern News pages (content type Repost pages) in a content search web part. If the user uses the function 'create a digest to send' a new page is ...
0
votes
0answers
11 views

Is there any way to replicate the old content search webpart for new sharepoint to fetch the results dynamically?

Is there any way to replicate the old content search webpart feature for new sharepoint to fetch the results dynamically without using any 3rd party app?? can we use Highlighted Content widget for the ...
0
votes
1answer
81 views

How to exclude the specific category result(post) using query?

I’ve a blog site where 20+ categories are there.Now my requirement is using content search webpart I have to fetch some specific categories post using search query. Only posts out of specific ...
0
votes
1answer
13 views

SharePoint Online, catch Content Search paging event

Does anybody know how to catch paging event in javascript? I need to add some markup before paging buttons, but this webpart is loaded dynamically. Tried to review "Item_TwoLines.html" Display ...
1
vote
1answer
100 views

SharePoint 5000 item limit threshold in sharepoint 2016

I know the issue is quite old and solved too many times, but for my case the solution should be faster and sophisticate as much as I can. The case is, my sites are migrated from SharePoint 2013 to ...
0
votes
1answer
28 views

Content Search Query Webpart

I have created a Content Search Query Web part which go through a document library and shows the result based on the column (metadata). The old metadata was LGBTI and it was working fine, however ...
0
votes
0answers
15 views

Recurring events in CSWP

Ok, so I know recurring events can not be showed in a CSWP because only the first occurence is indexed. I have read a lot about that, but not found a single solution anywhere. How can I show ...
0
votes
1answer
37 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
47 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
183 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
34 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
37 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 ...
1
vote
0answers
28 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
44 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
134 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
283 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
123 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
417 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
247 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
1answer
869 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 ...
1
vote
2answers
34 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
37 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
57 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
185 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
34 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
555 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
77 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
71 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
91 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 ...
2
votes
0answers
89 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 ...
1
vote
1answer
609 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
20 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
324 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
1answer
21 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
17 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
40 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
42 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
130 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
239 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
88 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
97 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
187 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
2 3 4 5 6