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
1answer
23 views

Search results security trimming for users, how it works?

I understand that during the indexing process (in context of lists/libraries) there are some library and item level ACL's generated, containing the users and groups that have access to the specified ...
0
votes
1answer
31 views

How to filter Content Search Webpart results on Managed Metadata term dynamically through URL Parameter

I have a landing page with a content search webpart that I want to be dynamically filtered by an URL like this one http://mysharepoint.com/site1/home.aspx?tagterm=#0a1658abf-cc9d-495c-a8cc-...
3
votes
1answer
89 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 ...
0
votes
2answers
56 views

Filter Content Search WebPart on libraries with the same name

I have a site template that has a library called ContentLibrary. I want to do a search that returns only item and document results from those libraries that are in various sites and site collections. ...
0
votes
0answers
16 views

Unable to filter the items based on the content type inside my content search web part

I have a content search web part inside our sharepoint online site collection, and i want to show items which are under certain content type, but when i use the following to get the items which are ...
0
votes
3answers
207 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
2answers
17 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
1k 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
162 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
21 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
1answer
139 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
15 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
170 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
32 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
1answer
67 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
63 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
57 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
47 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
29 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
50 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
200 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 ...
2
votes
1answer
413 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
224 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
509 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
384 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
1k 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
36 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
39 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
128 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
308 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
36 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
720 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
25 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
94 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
109 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
136 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
125 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
854 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
21 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
388 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
23 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
21 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
41 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
45 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
138 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
310 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
131 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
184 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
218 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
366 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.

1
2 3 4 5 6