Add-ons > SharePoint

Episerver Connect for SharePoint

Episerver Connect for SharePoint provides a transparent connection between Episerver and Microsoft SharePoint®. The connector copies documents, blocks, or other items from SharePoint document libraries and lists automatically. Updates occur on a scheduled or manual basis and are available to the CMS as media or blocks.

Copying assets from a SharePoint repository

Episerver compares files from a SharePoint view on the SharePoint server with files in the database and, if a difference exists, copies the SharePoint files to the database. The comparison is based on the GUID of the file. So, if you copy a file called Red to the database, then change the file name to Blue on the SharePoint server, Episerver detects the change and copies the Blue file, overwriting the Red file (because it has the same GUID).

  1. In the global menu, go to  CMS > Admin > Config Tool Settings > Connect For SharePoint. The Connect For SharePoint screen appears.
  2. Fill out the Connect for SharePoint screen with the following information.
    1. Site URL. Specify the URL of the SharePoint repository.
    2. Username. Specify a SharePoint account username.
    3. Password. Specify the password for the SharePoint account.
    4. Connection type.
      • On-premises. Select this option if you have a local on-premises SharePoint repository.
      • Online. Select this option if you have a remote Office 365 SharePoint repository.

        You can switch between local on-premises and online cloud repositories and have both repositories copy files to the same media folder or different folders. See SharePoint On-Premises VS. SharePoint Online (2013) for information about these choices.

    5. Click Test Connection to verify that your connection to the SharePoint repository is valid. If valid, a list of SharePoint views appears.
    6. Select folder. Choose an empty Episerver CMS or Commerce folder into which SharePoint assets are copied.

      You must select an empty folder. If you do not have an empty folder, enable Create New Sub-Folder and create an empty folder.

  3. Select the SharePoint views from which you want to copy the files. Most views copy files to the Media assets pane, but a custom list view is copied to the Blocks assets pane.
  4. Click Save to copy selected files from the SharePoint repository to Episerver. The Remaining items value decrements to 0 as the file assets are copied.

    You can click Refresh to display whether any new or changed assets were added to the SharePoint repository.

  5. Go to CMS edit view and select the media folder to see the uploaded SharePoint content items.

Updating SharePoint assets automatically

You can set Connect for SharePoint to automatically import updated SharePoint documents and files into Episerver and set the interval between checks of the SharePoint repository for changes.

In the global menu, go to  CMS > Admin > Scheduled Jobs SharePoint Update. The SharePoint update screen appears.

  • Settings tab:
    • Active. Enable the check box to set a scheduled interval for importing SharePoint files into Episerver.
    • Scheduled job interval. Set the number and time units between each running of the SharePoint update job. For example, the job can automatically check for changes every 3 hours (or every 5 minutes or every 2 days).

    • Next scheduled date. Specify when you want the automatic intervals to begin.

    • Save. Click to set the automatic schedule.

    • Start Manually. Click to compare media assets on the SharePoint site with those previously imported into Episerver, and copy them if changes exist.

  • History tab displays status messages.
back to top

Episerver User Guide update 15-5 | Released: 2015-11-16 | Copyright © Episerver AB | Send feedback to us