Product DocsMenu

Coveo Platform 7.0 >
Administrator Help > Connectors > Microsoft SharePoint Connector > Configuring and Indexing a Microsoft SharePoint Source

Configuring and Indexing a Microsoft SharePoint Source

A source defines a set of configuration parameters to extract and index Microsoft SharePoint content. This topic describes how to create a source using the second generation SharePoint connector.


To configure and index a Microsoft SharePoint source

  1. On the Coveo server, access the Administration Tool (see Opening the Administration Tool).

  2. Select Index > Sources and Collections.

  3. In the Collections section:

    1. Select an existing collection in which you want to add the new source.


    2. Click Add to create a new collection (see Adding a Collection).

  4. In the Sources section, click Add.

    The Add Source page that appears is organized in three sections.

  5. In the General Settings section of the Add Source page:

    1. Enter the appropriate value for the following required parameters:


      Enter a descriptive name of your choice for this source.

      Example: When you have more than one SharePoint site to index, you can include in the name information to help distinguish between them.

      SharePoint 2016 Intranet

      SharePoint 2013 Extranet

      Source Type

      The connector used by this source. In this case, select SharePoint.

      Note: CES 7.0.6767– (June 2014) The SharePoint type corresponds to what is now the Legacy SharePoint source type (see Configuring and Indexing a Microsoft SharePoint Source With the Legacy Connector).


      List of specific SharePoint farm sections that you want to index. If you need to index more than one section, enter one URL per line.

      Note: CES 7.0.6942 (August 2014) Starting addresses must end with /.


      • For the whole farm: 


      • For a specific Web Application: 


      • For a specific site collection: 


      • For a specific website: 


      • For a specific document library: 

        https://farm:8080/Document Library/

      • For a specific list:


        Important: A specific folder in a list is not supported.

      • For SharePoint Online: 

      Note: You can also use the source Crawl Scope parameter to control more precisely the content to crawl (see below).


      Select the field set that you created for this source (see Microsoft SharePoint Connector Deployment Overview).

      Refresh Schedule

      Time interval at which the source is automatically refreshed to keep the index content up-to-date.

      Note: The default Every Day option is typically good, but when your SharePoint content changes frequently within a day, after creating your source, you should schedule incremental refresh at significantly shorter time interval to continuously index ongoing SharePoint content changes (see Scheduling a Source Incremental Refresh). You can then consider to refresh the source weekly by selecting the Every Sunday option.

    2. Review the value for the following parameters that often do not need to be modified:


      Change this value only when you want to globally change the rating associated with all items in this source relative to the rating to other sources (see Understanding Search Results Ranking).

      Example: If this source was for a legacy Intranet, you may want to set this parameter to Low, so that in the search interface, results from this source appear later in the list compared to those from other sources.

      Document Types

      If you defined custom document type sets, ensure to select the most appropriate for this source (see What Are Document Type Sets?).

      Active Languages

      If you defined custom active language sets, ensure to select the most appropriate for this source.

  6. In the Specific Connector Parameters & Options section of the Add Source page, review if you need to change the parameter default values:

    1. In the Number of Refresh Threads box, when your Coveo server has available CPU cores, consider increasing the number to easily and significantly increase the crawling performance. The default value is 2.

    2. In the Mapping File box, leave the default value to use the default mapping file (Coveo.CES.CustomCrawlers.SharePoint.MappingFile.xml).

      When you identify that some custom SharePoint content is not indexed or not properly mapped, consider creating a custom mapping file, and then enter the full path to the file (see Creating and Using a Custom SharePoint Mapping File).

    3. CES 7.0.6830+ (July 2014) In the Crawling Scope drop-down box, select the option for the content type that you want to crawl in relation with the source Addresses that you specified (see above).

      Select WebApplication, the default value and highest element type in the SharePoint farm (tenant in SharePoint Online) hierarchy to crawl everything.

      Value Content to crawl
      WebApplication All site collections of the specified web application
      SiteCollection All web sites of the specified site collection
      WebAndSubWebs Only the specified web site and its sub webs
      List Only the specified list or document library
    4. In the Authentication Type drop-down list, refer to the following table to select the authentication type value corresponding to your SharePoint environment and the type of User Identity that you assigned to this source (see Microsoft SharePoint Connector Deployment Overview).

      SharePoint environment User identity type Option to select
      Classic Windows account
      (SharePoint 2010 default)
      Claims Windows account
      (SharePoint 2013 and 2016 default)
      ADFS federated account AdfsUnderClaims

      CES 7.0.9272+ (March 2018)

      Online Native Office 365 account SpOnlineNative
      Single Sign-On Office 365 account SpOnlineFederated
    5. In the Parameters section, click Add Parameter when you want to show and configure advanced hidden source parameters (see Modifying Hidden Microsoft SharePoint Source Parameters).


    6. In the Option section:

      Index Subfolders

      Keep this check box selected (recommended). By doing so, all subfolders from the specified server address are indexed.

      Index the document's metadata

      When selected, CES indexes all the document metadata, even metadata that are not associated with a field. The orphan metadata are added to the body of the document so that they can be searched using free text queries.

      When cleared (default), only the values of system and custom fields that have the Free Text Queries attribute selected will be searchable without using a field query (see Adding a Field to Search On and What Are Field Queries and Free Text Queries?).

      Example: A document has two metadata:

      • LastEditedBy containing the value Hector Smith

      • Department containing the value RH

      In CES, the custom field CorpDepartment is bound to the metadata Department and its Free Text Queries attribute is selected.

      When the Index the document's metadata option is cleared, searching for RH returns the document because a field is indexing this value. Searching for hector does not return the document because no field is indexing this value.

      When the Index the document's metadata option is selected, searching for hector also returns the document because CES indexed orphan metadata.

      Document's addresses are case-sensitive

      Leave the check box cleared. This parameter needs to be checked only in rare cases for case sensitive systems in which distinct documents may have the same file name but with different casing.

      Generate a cached HTML version of indexed documents

      When you select this check box (recommended), at indexing time, CES creates HTML versions of indexed documents. In the search interfaces, users can then more rapidly review the content by clicking the Quick View link rather than opening the original document with the original application. Consider clearing this check box only if you do not want to use Quick View links.

      Open results with cached version

      Leave this check box cleared (recommended) so that in the search interfaces, the main search result link opens the original document with the original application. Consider selecting this check box only when you do not want users to be able to open the original document but only see the HTML version of the document as a Quick View. In this case, you must also select Generate a cached HTML version of indexed documents.

  7. In the Security section of the Add Source page:

    1. In the Authentication drop-down list, select the user identity that you created for the Microsoft SharePoint farm (tenant in SharePoint Online) (see Microsoft SharePoint Connector Deployment Overview).

    2. In the Security Provider drop-down list, select the SharePoint security provider that you created for this SharePoint source.

    3. Click Save to save the source configuration and consider revising advanced source parameters before starting indexing the new source (see Modifying Hidden Microsoft SharePoint Source Parameters).


    4. Click Save and Start to save and start indexing immediately.

Note: When your SharePoint Web Application uses Claims, the first time the SharePoint search interface is accessed, the first time setup page appears to let you enter your Claims information and allow access to the search interface (see Coveo .NET Front-End First Time Setup).

What's Next?

Set an incremental refresh schedule for your source (see Scheduling a Source Incremental Refresh).

People who viewed this topic also viewed