Latest Entries »

SharePoint 2013 Search:

Search Verticals: This is a new search categories like People and Content in the old SharePoint version. Just to be clear search verticals are categories that are displayed under the search box such as Content, People, Conversation, Videos and other Custom Result Scopes.

Search Verticals or Result Source:

In SharePoint 2013 we can specify locations to get Search Results from, and set protocols for getting those results, by using Results Sources. SharePoint 2013 provides predefined results sources, such as Everything, People which are set by Default. We can change the default to another predefined results source such as “Recently Changed Items” or to a Result Source that we create. To create a new Search Vertical or Results Source we can create a new Result Source and specify the query transformation. With Query Transformation we can restrict queries to a subset of content to create a new search scope.

Search Results Pages:

When we create a search center site collection SharePoint 2013 creates a default search home page and default search results page. In addition to the default search results page SharePoint 2013 also creates few pages for other default Search Verticals.

These are the following pages that are created:

  1. Default.aspx: The Home page for the search center, and the page where end user enter their queries.
  2. Results.aspx: The default search results page for the search center. It is also the search results page for the EVERYTHING search vertical.
  3. PeopleResults.aspx: The search results page for the PEOPLE search Verticals.
  4. ConversationResults.aspx: The search results page for the Conversation Search Verticals.
  5. VideoResults.aspx: The search results page for the videos search vertical.
  6. Advanced.aspx: The search page where end users can apply some restrictions to their search phrases – for example, limiting the search to an exact phrase.

All the above mentioned pages are located in the PAGES library, and they contain web parts that we can customize to improve the end-user search experience.

Below post is taken from

How to create a custom search vertical

When you create a custom search vertical, the first thing you have to do is to create a page that the search vertical will use. To create a new page, here’s what you should do:

  1.  From the Site Settings menu, select Site contents.


  1. Select Pages.
  2. In the Pages library, select the FILES tab –> New Document –> Page.


  1. On the Create Page page, enter a Title and a URL Name.
    In my scenario, I entered Art and art.


  1. Click Create.

Your new page is displayed in your Pages library.


Now that you have a page for your custom search vertical, you can start to create the actual search vertical. Here’s what you should do:

On the Site Settings page, click Search Settings.


On the Search Settings page, in the Configure Search Navigation section, click Add Link.


In the Navigation Link dialog box, in the Title field, enter the search vertical title. This text will appear as the “tab” name on your search results page.
In my scenario, I entered Art.


In the URL field, select Browse and select a page for your search vertical.
In my scenario, I selected the art page I just created.


Click OK to close the Navigation Link dialog Box.

On the Search Settings page, in the Configure Search Navigation section, select the search verticals that you don’t want to display, and click Delete.

In my scenario, I deleted the People, Conversations and Videos verticals, so that I was only left with the Everything and the Art search vertical.


Click OK to save all changes.

In your Search Center, enter a query. On your search results page, your newly created search vertical is displayed.

On my search results page, the Art vertical was displayed.


On your search results page, click on your newly created search vertical, and verify that the URL is the same as you specified in step 4.
In my scenario, I clicked Art, and verified that the URL was <site>/articles/Pages/art.aspx. I also noticed that 13 search results were displayed.


On your new search vertical page, select to edit the page, and then to edit the Search Results Web Part.

In the Web Part tool page, click Change query. This will open a dialog box.


In the Build Your Query dialog box, from the Select a query menu, select the result source that you created for this search vertical (what we did in the previous section).
In my scenario, I selected Art result source (Site Collection).


Click OK and save the page.

On your new search vertical page, enter a query to verify that the correct search results are displayed.

In my scenario, I entered united airlines again, and noticed that only 11 search results were displayed.  Remember, before I changed the result source in the Search Result Web Part, 13 results were displayed. So my new vertical was working. Nice!


In my scenario, I added two more search verticals, Video and Interop. And with that, I had completed the Search Center set up.





Upgraded from Sharepoint 2k7 to 2k13 and everything has gone smooth so far.  Search setup without issue, indexes without errors and if I ‘Search Everything’ it returns results as expected.  However, if I search ‘This Site’ I get no results.


According to your post, my understanding is that you get no results when you search “This Site”.

Did you set the search drop down menu in the search box of the current site?

If yes, I recommend that you can follow the steps as below to check if the current site is visible in search results.

Open your site, click the Gear icon, go to “Site Settings”, click the “Search and offline availability” in “Search” section.
In the “Search and Offline Availability” page,  set the “Allow this site to appear in search results” to “Yes” in “Indexing Site Content” section.
In “Reindex Site” section, click on “ReIndex Site” button to enable this site to be picked up during the next scheduled search crawl, click “OK” .
Go to “SharePoint 2013 Central Administration”, click “Manage service applications” in “Application Management” section, click “Search Service Application”, click the “Content Sources” to start Full crawl.
Then, you can try to search this site again to test if it has corresponding results.

For more information, you can refer to:

What’s a Search Center and how we need to plan?

A search center is similar to an internet search page. It has a starting page where we can enter queries and it has a search result page where we can drill into and refine search results, or we can run a new query. When we search over the internet we expect the results to be more accurate and more fast, similarly when we search in SharePoint we also expect the same if we have good understanding of the content with some very good customizations.

Below is the screen shot of simple empty search center before we start working on it:



Below is the screen shot where our content publishing Search Center looks just after customization


For any organization the main important aspect to setup a search center is what type of content and information is on our intranet. We need to divide or we need to customize the search where a user can get his search result more easily and very efficiently without any hard work. The other important aspect we need to take into consideration is we need to make sure whether the content tagged with goof and consistent metadata. We need to make sure all the entries are consistently tagged with metadata that is important to us. Some content can be benefit from being searched separately or differently than other content. Example, if we work in Human Resource department and we search for “Vacation”, we probably end up with content related to the company’s rules and regulations around holidays. If a Employee not in HR department and searches for “Vacation” he may end up with SharePoint sites where we can log when we are away or use a tool to request a day for holiday.

We can create search verticals in the search center to display subsets of the search results that are of particular interest for certain groups of people, just like Teams Departments or else we can create separate search centers, such type of search center depends on the team or the organization where the employees handle the intranet to find the results very easily.

Below mention configuration is taken from technet blog i m just exposing it to outer world any hits or likes please visit

Map a crawled property to a refinable managed property
In my Search Center scenario, I knew that I wanted to use the following refinable managed properties:

Refiner to use Refinable managed property
Manager RefinableString01
Internal Writer RefinableString02
Editor RefinableString03
Content Type RefinableString04
Requested Publish Date RefinableDate01

The procedure to map a crawled property to a refinable managed property is the same for all refiners. In the procedure below, I’ll show you how you can do this. As an example, I’ll show you how I mapped the crawled property that represents Internal Writer to the RefinableString01 refinable managed property.

  1. On your Search Center, on the Site Settings page, select Search Schema.



  1. In the Managed property field, type the name of the refinable managed property to which you want to map a crawled property, and then click the arrow button.In my scenario, I typed RefinableString01.


From the Property Name field, select Edit/Map Property.


On the Edit Managed Property page, click Add a Mapping.


In the Crawled property selection dialog box, use the Search for crawled property name field to search for the crawled property that you want to map to this refinable managed property.
In my scenario, I knew that I wanted to use the site column called Internal Writer. Crawled properties don’t contain spaces, so I left the space out and entered InternalWriter.


Two crawled properties were found: ows_q_USER_Internal_Writer and ows_Internal_Writer.


If you now look like a big question mark, trust me, I understand your confusion. This part is quite tricky. There are actually two crawled properties (very strange since we only have one Internal Writer site column), so which one should you choose to map to the refinable managed property?

OK, let’s take a closer look at what’s going on. The difference between the two crawled properties is the prefix. One has a ows_q_USER_ prefix, and the other ows_. 
Now here’s the important part: When mapping a crawled property to a refinable managed property, you should select the crawled property with the ows_ prefix!

select the crawled property with the ows_ prefix, and click OK.

In my scenario, I selected ows_Internal_Writer.


On the Edit Managed Property page, notice that the crawled property has been added to theMappings to crawled property field.11

In the Alias field, enter a name for the refiner.
In my scenario, I entered InternalWriter.


It’s important to understand that the alias that you enter here is not the refiner name that will be shown on your search results page. This alias is meant to make your life a bit easier when you’re configuring refiners in the Refinement Web Part (I’ll show you how to do this in the procedure below). Remember, you can’t change the name of the refinable managed property, so when you do the configuration, you’ll have to deal with quite a few refinable managed properties that have similar names; RefinableString01,RefinableString02 etc.  So the alias is a good reminder of which value you mapped to the property.To finish the mapping, click OK.


I repeated the steps from the procedure above for the remaining four refiners. The screenshots below show my final result.

14 15

How to initiate a reindexing of a list or library
When you’ve mapped all the refinable managed properties that you want to use, you have to do a reindexing of your list or library.

How to configure the Refinement Web Part to use custom refiners

By default, the Refinement Web Part is included on the search results page. In the previous blog post I showed you how to configure the Search Results Web Part to use a new result source. The two refinersAuthor and Modified date were also displayed.


To display custom refiners, here’s what you should do:

  1. On the search results page, click the Settings menu, and then click Edit Page.
  2. In the Refinement Web Part, click the Web Part Menu, and then click Edit Web Part.


  1. In the Web Part tool pane, click Choose Refiners.


In the Selected refiners section, select the refiners that you don’t want to display on your search results page, and click Remove.
In my scenario, I removed all the default refiners.


  1. In the Available refiners section, scroll down and select a refinable managed property.

    In my scenario, I selected RefinableString1. This is the refinable managed property that I mapped to the crawled property ows_Internal_Writer. Notice that sample values are shown (a good sign that we’re on the right path), along with the alias InternalWriter.


Click Add


This moves the RefinableString01 property over to the Selected refiners section. When a refiner is moved over to the Selected refiners section, additional configuration options are shown (I’ll go through them in steps 10 and 11).

22Repeat steps 5 and 6 to add all the refiners that you want to use on your search results page.In my scenario, I added the five refinable managed properties I configured in the previous section.


To preview the refiners, click Preview Refiners.


To change the display order of refiners, select the refiner you want to move, and then click theMove up or Move down button.

In my scenario, I selected RefinableString04 (notice the Alias name), and selected Move up until it was the first property in the Selected refiners section.


To enable users to select multiple refiner values, from the Display template menu, select Multi-value Refinement Item.


I clicked Preview refiners again, and verified that the ContentType refiner (RefinableString04) was displayed first, and that it had checkboxes that would enable users to select multiple refiner values.


I repeated this step for the refiners RefinableString01, RefinableString02 and RefinableString03.

But I wasn’t quite satisfied with the way my RefinableDate01 refiner was displayed. Remember, this refiner represents Requested publish date. By default, the refiner values are shown in a list, which makes it difficult for users to see the date range.



To display the refiner values in a more user friendly way, in the Refinement configuration dialog box, from the Display template menu, I selected Slider with bar graph. In the Dates section, I selected Last day, week, month, six months and year.


When I now previewed my refiners, the values for the Requested Publish Date refiner (RefinableDate01) were nicely displayed as a graph.


But there was one more thing that I had to improve: the refiner display names. RefinableString01,RefinableString02 etc. does not make much sense to users.

  1. To change the refiner display name, in the Display name field, enter the name you want to be displayed for each refiner.
    In my scenario, for the RefinableString04 refiner, I entered Content Type.


Repeat this step for all your refinable managed properties.

  1. To save the configurations, click OK in the Refinement configuration dialog box, and then OK in the Web Part tool pane.
  2. Save the page.
    In my scenario, the five refiners were now nicely displayed on the search results page.


However, there was one small detail that would make the refiners even better.  Right now users couldn’t see any numeric details for the refiner values. For example, I could see that I (Bella Engen) was a writer of articles that had to do with search configuration, but I couldn’t see how many articles.


To see this information, I need to add counts to the refiner values.



How to add counts to refiner values
To add counts to refiner values, you’ll have to edit a display template. When you work with display templates, you’ll make life a lot easier for yourself if you map your network drive. By doing this, you’ll be able to work with display templates from Windows Explorer. I describe how you can map your network drive in this blog article.

  1. In your mapped network drive, go to Display Templates –> Filters.
  2. To add counts to refiners where it’s only possible to select one refiner value at a time, open the HTML file Filter_Default. To add counts to refiners where it’s possible to select multiple refiner values, open the HTML file Filter_MultiValue.

    In my scenario, I had configured the refiners so that users would be able to select multiple refiner values, so I opened the file Filter_MultiValue.

  3. Change the value for ShowCounts to true.


Save the file.

To verify that refiner counts are displayed, enter a query in your search center.

In my scenario, I could now see that I (Bella Engen) was the writer of 5 articles that had something to do with search configuration. Nice!








I have been deploying a brand new install of Sharepoint 2013 over the past few days and ran into a problem with following documents and sites that I thought you might be interested in.

Problem: When clicking the Follow button in the top right hand corner of the page you receive this error with an awesome description:


after going through the Sharepoint 2013 logs located here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS I noticed this error in the log file : “Cannot open database “WSS_Content_576554434566776ef777ce6″ requested by login. The login failed. Log in for user ‘domain\username’.

Onto the SQL Server I go and open up Security > Logins and find the user. Right Click > Properties and select User Mapping. Find the database in the list that matches the one from the error log file, give it a tick, then in the database role membership window below put a tick next to SPDataAccess.


Close your SQL Management Studio, go back to your Sharepoint site and find a document or site to follow and click the follow link up top and bingo, you can now follow sites and documents.

Just a few small steps and the issue will be solved!!!! following day i ran into a issue where i need to follow a site updates i.e. receive content, site or documents updates from newsfeeds.


Surprisingly when i clicked on Follow link i got an error stating SOMETHING WENT WRONG.


Obviously i searched and got some interesting links to solve the issues

when u follow a document you will get updates from Newsfeed if the item was updated.


However, there are two important site features that need to be activated in order to have this functionality available.

Following content : this makes the site available to be followed (star icon will appear on the top right part of the screen)
Site Feed: this makes the site show up as a “channel” when you are posting something from the newsfeed web part. There is also a web part, called “Site Feeds” which comes with this feature.



Although some site templates already have these features enabled (e.g. : Team Site), they have to be manually activated for a Blank Site or a Publishing Site.

A simple usage scenario for following sites would be like this:

  • Create a new site collection
  • Activate the required features at site level
  • Create a new page
  • Add the “Site Feeds” web part to the page.


%d bloggers like this: