> ## Documentation Index
> Fetch the complete documentation index at: https://help.draftable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Running comparisons with files from SharePoint Online and saving outputs to SharePoint

> SharePoint is a leading secure cloud-based content management software designed for use across a wide variety of industries.

This article will guide you on how to initiate comparisons by selecting documents from SharePoint online, and how to preserve these comparison exports as outputs within SharePoint.

<Note>
  **Please note:** In order to use the features outline in this article, you must first:

  * Have [enabled the SharePoint integration in your Draftable Settings and connected your account](/hc/en-us/articles/25442111938585-Connecting-your-Sharepoint-account-with-Draftable-Legal).
</Note>

## Ensuring SharePoint integration can handle large numbers (1000+) of sites

For users who have 1000s of SharePoint sites, you will need to first enable "Heavy Usage Mode" in your Integration Settings (go to the Settings in Draftable, select the "Integrations" tab and under the SharePoint integration section, select the checkbox for 'Enable Heavy Usage Mode')

<Frame>
  <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-1.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=60afdd98caed34fa8ea520bf92e15fbd" alt="" width="628" height="490" data-path="images/using-draftable-legal-with-sharePoint/image-1.png" />
</Frame>

## Selecting input files from SharePoint Online to start a comparison

<Note>
  **Dragging files from SharePoint in a web browser is no longer supported** (a Microsoft change to SharePoint Online that Draftable cannot work around). Use the SharePoint file picker described below instead.
</Note>

<Steps>
  <Step>
    Within the Draftable Legal **New Comparison Window**, click **SharePoint**

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-2.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=10e534969ff796b5ce740dc38adc57a1" alt="" width="620" height="408" data-path="images/using-draftable-legal-with-sharePoint/image-2.png" />
    </Frame>
  </Step>

  <Step>
    This will launch **Draftable's** **file explorer menu,** where you can **navigate to the file(s)** you wish to compare

    <Frame>
      <img src="https://mintcdn.com/draftable/yFTxwf4D7ugbk2BX/images/using-draftable-legal-with-sharePoint/image-3.png?fit=max&auto=format&n=yFTxwf4D7ugbk2BX&q=85&s=d0ff61beae8a75173c1c502b5e5d887c" alt="" width="917" height="617" data-path="images/using-draftable-legal-with-sharePoint/image-3.png" />
    </Frame>
  </Step>

  <Step>
    Navigate to your desired file location and **click on the document** **you wish to load**. Once the document is highlighted click on **Select**

    <Frame>
      <img src="https://mintcdn.com/draftable/yFTxwf4D7ugbk2BX/images/using-draftable-legal-with-sharePoint/image-4.png?fit=max&auto=format&n=yFTxwf4D7ugbk2BX&q=85&s=5e7a94b4ba58ada6fb24d751af046e9d" alt="" width="918" height="617" data-path="images/using-draftable-legal-with-sharePoint/image-4.png" />
    </Frame>
  </Step>

  <Step>
    If you would like to load a specific version of a document, simply click on the **Show** option in the Versions column and the file versions will appear. Select the version(s) you wish to compare (using Ctrl for multi select) and click **Select**

    <Frame>
      <img src="https://mintcdn.com/draftable/yFTxwf4D7ugbk2BX/images/using-draftable-legal-with-sharePoint/image-5.png?fit=max&auto=format&n=yFTxwf4D7ugbk2BX&q=85&s=74b1c21bce455ebc2785199688f80666" alt="" width="919" height="622" data-path="images/using-draftable-legal-with-sharePoint/image-5.png" />
    </Frame>
  </Step>

  <Step>
    Once selected, the input document(s) will appear in the **New Comparison Window**. You can **repeat this process** (steps 1-4) for the newer document if this wasn't selected with the older document. If you need to switch the order of the documents loaded, you can use the two arrows icon in the top-center of the window

    <Frame>
      <img src="https://mintcdn.com/draftable/yFTxwf4D7ugbk2BX/images/using-draftable-legal-with-sharePoint/image-6.png?fit=max&auto=format&n=yFTxwf4D7ugbk2BX&q=85&s=fcdb22ca1073ce314641d7c79bdfd0eb" alt="" width="621" height="406" data-path="images/using-draftable-legal-with-sharePoint/image-6.png" />
    </Frame>

    You can also change the file version loaded or add another version by using the **Select Version** option under each filename

    <Frame>
      <img src="https://mintcdn.com/draftable/yFTxwf4D7ugbk2BX/images/using-draftable-legal-with-sharePoint/image-7.png?fit=max&auto=format&n=yFTxwf4D7ugbk2BX&q=85&s=5d2f497f3629a02cd662332f7b1d78ea" alt="" width="621" height="406" data-path="images/using-draftable-legal-with-sharePoint/image-7.png" />
    </Frame>

    This will display the Version Selection menu where you can choose one version to replace the current version loaded or select two versions to replace both files in the launcher

    <Frame>
      <img src="https://mintcdn.com/draftable/yFTxwf4D7ugbk2BX/images/using-draftable-legal-with-sharePoint/image-8.png?fit=max&auto=format&n=yFTxwf4D7ugbk2BX&q=85&s=8081dbb9ac3a7723caa54dfdea7e4390" alt="" width="620" height="406" data-path="images/using-draftable-legal-with-sharePoint/image-8.png" />
    </Frame>
  </Step>

  <Step>
    Once both documents have been loaded, select your **Comparison Type** from the drop down menu

    <Frame>
      <img src="https://mintcdn.com/draftable/yFTxwf4D7ugbk2BX/images/using-draftable-legal-with-sharePoint/image-9.png?fit=max&auto=format&n=yFTxwf4D7ugbk2BX&q=85&s=bc0d4d0d4a0b721cb25a2355759c530c" alt="" width="617" height="406" data-path="images/using-draftable-legal-with-sharePoint/image-9.png" />
    </Frame>
  </Step>

  <Step>
    Start your comparison by clicking **Compare**

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-10.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=d3c4c06c0fa0db0a07bad857ccef85c3" alt="" width="617" height="406" data-path="images/using-draftable-legal-with-sharePoint/image-10.png" />
    </Frame>
  </Step>
</Steps>

## Saving comparison outputs to SharePoint

### Option 1: Saving via the Draftable Viewer (all output types)

<Steps>
  <Step>
    First, in the **New Comparison Window** ensure the **Redline in Draftable** Comparison Type has been selected then hit **Compare**

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-11.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=5cc7309ed1ab7568390595106d71e638" alt="" width="622" height="114" data-path="images/using-draftable-legal-with-sharePoint/image-11.png" />
    </Frame>
  </Step>

  <Step>
    Once the comparison is ready, the **Comparison Viewer** will appear

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-12.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=05c54ddb93cdbb17e9768714221a9897" alt="" width="650" height="384" data-path="images/using-draftable-legal-with-sharePoint/image-12.png" />
    </Frame>
  </Step>

  <Step>
    Click on the **Save to SharePoint** button in the Draftable ribbon.

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-13.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=70163f2f3b60624e76c653bba501a636" alt="" width="650" height="384" data-path="images/using-draftable-legal-with-sharePoint/image-13.png" />
    </Frame>
  </Step>

  <Step>
    This will bring up the **Comparison Results options**:

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-14.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=5eecf8636a88218a277fc5dbf576d9b5" alt="" width="650" height="388" data-path="images/using-draftable-legal-with-sharePoint/image-14.png" />
    </Frame>

    You can select from one of the below options:

    **Redline:** This saves into a .pdf or .docx file where all changes are marked or "redlined" over the base document. This layout allows for easy visual comparison between the original and new versions of the document.

    **Changed Pages Only:** This is similar to the Redline option, but it only includes pages where changes have occurred. This is a useful feature if you're dealing with lengthy documents and you want to focus just on the pages with modifications. Can only be saved as a .PDF.

    **Tracked Changes:** This saves into a .docx file with all updates embedded as 'Tracked Changes' in Microsoft Word. This is useful for further editing or reviewing in Word, as you can accept or reject changes individually and keep a record of who made what changes and when.

    **Changes Report:** This will save a summary of the document changes found within the Redline. You can pick to either save this in a DOCX or a CSV file format and show all the Reported changes, or just those Matching the filters you have set in the Change List panel.

    Also, if you click on the **"Options'** link at the top of the Comparison Results pop up window, you will also see two additional choices.

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-15.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=d61928463f32709cd0fc9a72af5eb3af" alt="" width="650" height="384" data-path="images/using-draftable-legal-with-sharePoint/image-15.png" />
    </Frame>

    **Summary page:** Includes a brief summary of the number of changes made, as well at the Markup Schema used for the Redline

    **Changes report:** Includes the full changes report either at the start of the document or at the end.
  </Step>

  <Step>
    The Draftable **'Save As' window** will now appear. By default, this will open in the SharePoint location where the newer input file was stored. From here you can navigate through SharePoint online, edit the file name and create new folders as needed.

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-16.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=70d6cd168d1ea2133b8cb348fae2a2da" alt="" width="916" height="619" data-path="images/using-draftable-legal-with-sharePoint/image-16.png" />
    </Frame>
  </Step>

  <Step>
    Enter the relevant details and select **'Save'**. Your document has now been saved to **SharePoint**
  </Step>
</Steps>

### Option 2: Saving directly to SharePoint (Tracked Changes in Word outputs)

<Steps>
  <Step>
    First, in the **New Comparison Window** ensure the **Tracked Changes in Word** has been selected then hit **Compare**

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-17.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=5347885750fa9a9060ff9e824c631b5a" alt="" width="433" height="106" data-path="images/using-draftable-legal-with-sharePoint/image-17.png" />
    </Frame>
  </Step>

  <Step>
    Once the comparison is ready, you will see a popup asking whether you want to Open or Save your comparison output

    <Note>
      Note, some users may have set a default action for these comparisons in the Redline section of the Settings menu. If this is the case, you will need to change this setting to see the popup. See [Redline comparison settings](/hc/en-us/articles/16549612535705-Redline-comparison-settings) for details.
    </Note>

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-18.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=0b9b4825e69ef5aa5ba16e500b7d3c2b" alt="" width="683" height="230" data-path="images/using-draftable-legal-with-sharePoint/image-18.png" />
    </Frame>
  </Step>

  <Step>
    On the right side of the Save option, hit the **down arrow** to show more options

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-19.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=3a1e3832b4bc302ae98481b6f302d33e" alt="" width="683" height="230" data-path="images/using-draftable-legal-with-sharePoint/image-19.png" />
    </Frame>
  </Step>

  <Step>
    Select **Save to SharePoint** from the drop down menu

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-20.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=e557356a5affb24758d29f82813cc7bc" alt="" width="684" height="316" data-path="images/using-draftable-legal-with-sharePoint/image-20.png" />
    </Frame>
  </Step>

  <Step>
    The Draftable **'Save As' window** will now appear. By default, this will open in the SharePoint location where the newer input file was stored. From here you can navigate through SharePoint online, edit the file name and create new folders as needed

    <Frame>
      <img src="https://mintcdn.com/draftable/ycdM9FLDW0ls-_jk/images/using-draftable-legal-with-sharePoint/image-21.png?fit=max&auto=format&n=ycdM9FLDW0ls-_jk&q=85&s=aee621c4fc923ea110b4b2acf85faaac" alt="" width="918" height="623" data-path="images/using-draftable-legal-with-sharePoint/image-21.png" />
    </Frame>
  </Step>

  <Step>
    Enter the relevant details and select **'Save'**. Your document has now been saved to **SharePoint**
  </Step>
</Steps>
