Articles with the tag:
Close
Changelog
Close
Help Center
Integration
  • All
  • Overview
  • Online editors integration
    • Installing ONLYOFFICE Document Server with SharePoint

Overview

Integrating ONLYOFFICE with SharePoint collaborative platform through a connector, available on ONLYOFFICE GitHub page, allows you to edit Office documents within the document library.

ONLYOFFICE app adds the following features:

  • Will create a new Edit in ONLYOFFICE menu option within the context menu of the file and the ribbon for Office documents. This allows multiple users to collaborate in real time and to save back those changes to SharePoint.
  • Co-editing documents in real-time: use two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat.
  • Editing the following formats: DOCX, XLSX, PPTX, PPSX. These are also available for viewing in PDF together with DJVU, TXT, CSV, ODT, ODS, ODP, DOC, XLS, PPT, PPS, EPUB, RTF, HTML, HTM, MHT, XPS formats.

The conenctor is tested and works with SharePoint 2010, 2013 and 2016.

Would like to install SharePoint along with the ONLYOFFICE Office suite on your computer for development or a test-drive? Than you should use our installation guide, so you can get you a complete view of the ONLYOFFICE Document Server’s functionality and features.

Visit our For Developers page to find out more about the ONLYOFFICE SharePoint integration solution in details.

Online editors integration

  1. Click Start, point to All Programs, point to Administrative Tools, and then click Services, and make sure that SharePoint Administration service is started.
  2. Click Start, click SharePoint Management Shell, go to the directory with the .wsp file.
  3. Run the Install.ps1 script:
    PS> .\Install.ps1
  4. Enter your SharePoint site address:
    https://<yoursharepointsite>
    Alternatively to steps 3 and 4 you can type the following command:
    Add-SPSolution -LiteralPath<solutionpath>/onlyoffice.wsp

    On the SharePoint Central Administration home page, click System Settings > Farm Management > Manage farm solutions. On the Solution Management page, click onlyoffice.wsp, then click Deploy Solution.

  5. On the SharePoint Central Administration home page, under Application Management, click Manage web applications.
  6. Make sure you select your site and click the Authentication Providers icon.
  7. In the Authentication Providers pop-up window click Default zone.
  8. Under Edit Authentication, check Enable anonymous access and click Save.
  9. Going back to Web Application Management click on the Anonymous Policy icon.
  10. Under Anonymous Access Restrictions select your Zone and set the Permissions to None – No policy and click Save.

Configuring SharePoint ONLYOFFICE integration solution

In SharePoint open the /_layouts/15/Onlyoffice/Settings.aspx page with administrative settings. Enter the following address to connect ONLYOFFICE Document Server:

https://<documentserver>/

Where the documentserver is the name of the server with the ONLYOFFICE Document Server installed. The address must be accessible for the user browser and from the SharePoint server. The SharePoint server address must also be accessible from ONLYOFFICE Document Server for correct work.

Please note, that if you have subsites set up with SharePoint, you will need to additionally configure ONLYOFFICE Document Server connection with each of them, in order for it to work properly. Go to each subsite settings and enter the Document Server address to the proper field.

Installing ONLYOFFICE Document Server with SharePoint

This guide will help you install, run and use the functionality of the SharePoint server along with the ONLYOFFICE Document Server and properly configure it, so that you can easily create new and edit existing files saved in your Microsoft account. SharePoint server and ONLYOFFICE office suite can not only be placed on the Internet but also on your own computer for development or a test drive.

Install ONLYOFFICE Document Server

You will need an instance of ONLYOFFICE Document Server that is resolvable and connectable both from SharePoint and any end clients. If that is not the case, use the official ONLYOFFICE Document Server documentation page: Document Server for Linux. ONLYOFFICE Document Server must also be able to POST to SharePoint directly.

The easiest way to start an instance of ONLYOFFICE Document Server is to use Docker Compose.

Using ONLYOFFICE SharePoint integration solution

Before you use ONLYOFFICE Document Server with ONLYOFFICE SharePoint solution, you need to install it. If you for some reason plan to edit the ONLYOFFICE SharePoint solution source code, you will need to compile it and install it afterwards. If you do not want to do that and plan to use the already compiled solution package, please skip to the Installation section directly. The latest compiled package files are available here.

Compiling ONLYOFFICE SharePoint integration solution

If you have SharePoint with version later than 2010, you will not need to change anything, you can compile the project. In case you have SharePoint 2010 and want to build the project for this version, you will need to open the ONLYOFFICE.csproj file and find the lines

<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
    <TargetOfficeVersion>15.0</TargetOfficeVersion>

Replace these lines with the following ones:

<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <TargetOfficeVersion>14.0</TargetOfficeVersion>

And go to the steps below after that.

There are two ways to compile ONLYOFFICE SharePoint integration solution:

  1. Using MS Visual Studio:
    1. Enter the SharePoint server and open this project in Visual Studio.
    2. In Solution Explorer, open the shortcut menu for the project and then choose Publish.
    3. In the Publish dialog box, choose the Publish to File System option button.
    4. Click the Publish button. When the publishing process is finished, the solution .wsp file will be created.
    5. Copy the resulting file to the folder with the Install.ps1 file (BuildAndInstall folder by default).
  2. With the help of the build.bat file provided:
    1. Go to the BuildAndInstall folder.
    2. Run the build.bat file.
    3. The resulting solution .wsp file will be created and placed to the BuildAndInstall folder.

Installing ONLYOFFICE SharePoint integration solution

  1. Click Start, point to All Programs, point to Administrative Tools, and then click Services, and make sure that SharePoint Administration service is started.
  2. Click Start, click SharePoint Management Shell, go to the directory with the .wsp file.
  3. Run the Install.ps1 script:
    PS> .\Install.ps1
  4. Enter your SharePoint site address:
    https://<yoursharepointsite>
    Alternatively to steps 3 and 4 you can type the following command:
    Add-SPSolution -LiteralPath<solutionpath>/onlyoffice.wsp

    On the SharePoint Central Administration home page, click System Settings > Farm Management > Manage farm solutions. On the Solution Management page, click onlyoffice.wsp, then click Deploy Solution.

  5. On the SharePoint Central Administration home page, under Application Management, click Manage web applications.
  6. Make sure you select your site and click the Authentication Providers icon.
  7. In the Authentication Providers pop-up window click Default zone.
  8. Under Edit Authentication, check Enable anonymous access and click Save.
  9. Going back to Web Application Management click on the Anonymous Policy icon.
  10. Under Anonymous Access Restrictions select your Zone and set the Permissions to None – No policy and click Save.

Configuring SharePoint ONLYOFFICE integration solution

In SharePoint open the /_layouts/15/Onlyoffice/Settings.aspx page with administrative settings. Enter the following address to connect ONLYOFFICE Document Server:

https://<documentserver>/

Where the documentserver is the name of the server with the ONLYOFFICE Document Server installed. The address must be accessible for the user browser and from the SharePoint server. The SharePoint server address must also be accessible from ONLYOFFICE Document Server for correct work.

Please note, that if you have subsites set up with SharePoint, you will need to additionally configure ONLYOFFICE Document Server connection with each of them, in order for it to work properly. Go to each subsite settings and enter the Document Server address to the proper field.
Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
You Might Also Like This:
Close