Skip to main content
7 votes
Accepted

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

When you decide to use OOTB Survey list, You should take care of two main factors. Time: The time required to customize the current OOTB survey list to match your requirements. And the time ...
Mohamed El-Qassas MVP's user avatar
6 votes
Accepted

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

In SharePoint Online the best way to achieve opening of documents in the browser is by appending web=1 as a query string parameter to the file URL like https://tenant.sharepoint.com/Documents/file....
Gautam Sheth's user avatar
  • 30.9k
5 votes
Accepted

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

The title of a site (the one present on (/_layouts/15/prjsetng.aspx page) resides in a crawled property called ows_SiteName. You should map it to a RefinableStringxx managed property(see below screen ...
Gautam Sheth's user avatar
  • 30.9k
5 votes
Accepted

How i can do a case-insensitive sort inside my content search web part

In SharePoint Search, it will sort Character with "A-Z" then "a-z", it is by design, because Lower Case character will have a larger ASCII value compare with Upper Case character. SharePoint Search ...
Jerry's user avatar
  • 2,583
4 votes

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

You can map title to one of the RefinableString, crawl, and sort by that RefinableString UPDATE Go to Central admin > Manage service applications > Search service application > Search Schema (under ...
Marko Tica's user avatar
  • 2,537
4 votes

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

LastModifiedTime managed property does not always show the modified date value of a list item. The reason behind that is that LastModifiedTime managed propery is mapped to multiple crawled properties ...
Gautam Sheth's user avatar
  • 30.9k
3 votes
Accepted

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

Yes, it's not mandatory, you are right you can add the Content Search WebPart (CSWP) without activating publishing feature. The Content Search WebPart requires that you have configured Search ...
Mohamed El-Qassas MVP's user avatar
3 votes

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

The answer to your question would be Managed property. For your particular question, Department field itself is a term set field already available to be queried. If you have maintained, the correct ...
Ransher Singh's user avatar
3 votes
Accepted

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

Try add yourCommentOWSMTXT at first place <mso:ManagedPropertyMapping msdt:dt="string">'CommentOWSMTXT','ListID','ListItemID', ... then save item.html display template. Go to your page where ...
Marko Tica's user avatar
  • 2,537
3 votes

How to check correct Crawled property for a list column

OK, this post is old but I would like to give my answer. Based on your input above here it is how you should look at it. You have two types of columns, 1) Site columns and 2) list columns. In your ...
Imir Hoxha's user avatar
  • 1,895
3 votes
Accepted

My sharepoint online office 365 is missing the following web part "Content Search" under Content Roll-out category

The Content Search Webpart is only available to E3 and above Enterprise plans (or Sharepoint Plan 2 among SharePoint Online Plan 1 (Business) and SharePoint Online Plan 2 (Enterprise)). In fact, ...
Ransher Singh's user avatar
3 votes

SharePoint ContentBySearchWebPart shows OneNote sections instead of OneNote documents

You can exclude files with the .one extension, which represent OneNote sections, by adding NOT FileType:"one" to your search query. Note that OneNote notebooks are really folders, not documents, so ...
Thriggle's user avatar
  • 1,620
3 votes
Accepted

Link Document Library to Search Filter

Edit "search result webpart" > click "Change query". In "Query text" type path to your list/library Path:"https://.../Lists/testList/" (contentclass:...
Marko Tica's user avatar
  • 2,537
2 votes

How to check correct Crawled property for a list column

Ive run into this many times, so what i do to overcome this is to initially name the field with an identifiable trait. Example: List/Solution Name: Deal Finder Column Name: Store Initial Field ...
Ndeezy178's user avatar
2 votes

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

I too faced a similar issue, to solve this i created a copy of the display template. In the display template, i added the below code: var desc = $getItemValue(ctx, "Description"); This gives me the ...
Gautam Sheth's user avatar
  • 30.9k
2 votes
Accepted

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

You only need the default zone in the Content Source. Queries executed from other zones will return results mapped to the source in the same zone (unless it's missing in which case it will fail back ...
Matthew McDermott's user avatar
2 votes
Accepted

Content search web part required for Crawl

this is not only case with images, any content you add to sites will be available in search result only after new content is crawled, though you don't need to run it manually every time. it will ...
Siddharth Vaghasia's user avatar
2 votes

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

1- start with search in codeplex. (so i searching for you and find this wsp and installed that. result is if you install it and help from one drop-down custom field or click on those field (like ...
saber tabatabaee yazdi's user avatar
2 votes
Accepted

Two wildcards in search query path?

SharePoint only supports "suffix" wildcards. You can only do mysite.org/projects/2016/proj* OR mysite.org/projects/2017/proj*. Another approach would be to query on the WebTemplate type if you are ...
Matthew McDermott's user avatar
2 votes

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

The overrideValueRenderer method will override value retrieved from the managed property. For example, if the value of managed property of type text has large number of characters , so it will get ...
Gautam Sheth's user avatar
  • 30.9k
2 votes
Accepted

Change error message " Something Went wrong" in SharePoint Online

I have got the answer, we can change the text of error message "Something went wrong" in display template in content search web part. Edit the web part, click on settings and write your custom error ...
MJaiswal's user avatar
  • 498
2 votes

How do I create a Search page in Team Site?

If you want just a "results" page where the results are displayed or both a search page (where you enter the query) and a results page, you just have to create the page (or pages) and then add the ...
Matthew McDermott's user avatar
2 votes

Hide a site icon from the search results

Alternatively you can change Item template of content search webpart. Edit the webpart and set item template under display template as "Two lines" which will not display any images. OutPut:
SP Developer's user avatar
  • 3,085
2 votes
Accepted

Not getting Task List Columns under crawled Property

Some crawled properties will be created using internal names of columns. And the internal name of "Related Content" column is "WorkflowLink". So, check there will be ows_WorkflowLink and ...
SP Developer's user avatar
  • 3,085
2 votes
Accepted

Metadata managed and crawled properties, finding the right one?

Re-index site-> On the site, click Settings > Site Settings. Under Search, click Search and offline availability. In the Reindex site section, click Reindex site. A warning appears, click Reindex ...
Akshay's user avatar
  • 626
2 votes
Accepted

Managed property after full crawl is still empty

Make sure you have mapped the correct crawl property of the list column, like ows_InternalColumnName. Make sure the managed property is Retrievable. Reindex the list and start a full crawl, then ...
JoannaW_MSFT's user avatar
  • 6,621
2 votes
Accepted

Does New Experience have Search Function?

search does exist on the modern page. You currently dont have any search apps but you do have a search area. Its located on the left hand side just above the menu and below the "office 365" menu. This ...
Ali Jafer's user avatar
  • 17.8k
2 votes
Accepted

DocID as a clickable column in Content Search web part

First you have to ensure that the managed property is mapped correctly, as in this. As far as the link goes you can use a direct link, or cheat an reuse the default link 😉
Kasper Bo Larsen's user avatar
2 votes
Accepted

Content Search Webpart missing "new" Items from List Query

Since it is a search web part a search crawl has to run before they will show up in the web part. The list view web part is not dependent on search, this is why they show up in the list view web part ...
Josh McClanahan's user avatar
2 votes

SharePoint 5000 item limit threshold in sharepoint 2016

CSWP might work best. Indexes do not work as you have more than 20k items. With CSWP you could use the Path parameter like Path:https://sp.company.com/somesite/somelibrary/, or some other filtering ...
Jussi Palo's user avatar
  • 8,176

Only top scored, non community-wiki answers of a minimum length are eligible