---
title: Working with files from SharePoint libraries
related:
  - https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-sharepoint/managing-sharepoint-libraries.md
  - https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-sharepoint/displaying-sharepoint-data-on-the-live-site.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

The **SharePoint** application allows you to manage files contained in available SharePoint libraries. Using this application, you can:

- [Access files from SharePoint libraries](#accessing-files-from-sharepoint-libraries)
- [Insert files into SharePoint libraries](#inserting-files-into-sharepoint-libraries)
- [Update files in SharePoint libraries](#updating-files-in-sharepoint-libraries)
- [Delete files from SharePoint libraries](#deleting-files-from-sharepoint-libraries)

![Files available in a SharePoint library](https://docs.kentico.com/docsassets/13/working-with-files-from-sharepoint-libraries/files_in_library.png "Files available in a SharePoint library")

> **Note:** In the **SharePoint** application, you can work with files that are:
>
> - allowed in SharePoint\
>   \- AND -
> - allowed in Xperience, as specified in **Settings -> System -> Files**.
>
> Working with locked or checked-out files, same as with files under a workflow is not supported.

## Accessing files from SharePoint libraries

You can access files from SharePoint libraries in Xperience after the system finishes downloading content of these libraries from SharePoint. For each SharePoint library, the download of the contained files to Xperience starts when you add the library to the **SharePoint** application.

Later on, the system periodically checks if changes have been made to the libraries in SharePoint and reflects these changes in Xperience.

> **Tip:** You can change the period when the system automatically checks the current state of the libraries in SharePoint and reflects the changes in Xperience.
>
> You can also get the system to reflect in Xperience any changes made to the libraries in SharePoint instantly.
>
> See [Managing SharePoint libraries](https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-sharepoint/managing-sharepoint-libraries.md) for more details.

When the system finishes downloading the files from SharePoint, you can download any of the files to your computer or mobile device. Besides, you can view images (if available).

### Viewing images

To view images from available SharePoint libraries:

1. Open the **SharePoint** application.
2. **Edit** () a library.

   - The system opens the library on the **Files** tab and displays available files.
3. Click **View** () next to a selected image to view the image.
   - The action is available only for image files.

The system displays the image.

### Downloading files

To download files from available SharePoint libraries to your computer or mobile device:

1. Open the **SharePoint** application.
2. **Edit** () a library.
   - The system opens the library on the **Files** tab and displays available files.
3. Click **Download** () next to a selected file to download the file to your computer or mobile device.

If you now modify the file, you can [replace](#updating-files-in-sharepoint-libraries) its existing version with the current version in the library.

## Inserting files into SharePoint libraries

To insert files into a selected SharePoint library using the Xperience administration interface:

1. Open the **SharePoint** application.
2. **Edit** () a library.
   - The system opens the library on the **Files** tab, showing a list of all available files.
3. Click **Add files**.
   - This opens a standard file selection dialog.
4. Select one or more files.
   - You need to select files of supported types, i.e. documents and images.
   - Selecting files of unsupported types results in a failure during upload of the files.
5. Click **Open**.

The system starts uploading the files to SharePoint. When the upload to SharePoint is finished, the files are available in the library in both SharePoint and Xperience.

## Updating files in SharePoint libraries

To update files in SharePoint libraries:

1. Open the **SharePoint** application.
2. **Edit** () a library.
   - The system opens the library on the **Files** tab, showing a list of all available files.
3. Click **Update** () next to a selected file.

   - This opens a standard file selection dialog.
4. Select the current version of the file, or a different file.
5. Click **OK**.

The system starts uploading the selected file to SharePoint. When the upload to SharePoint is finished, the file is available in the library in both SharePoint and Xperience.

## Deleting files from SharePoint libraries

To delete a file from a selected SharePoint library using the Xperience administration interface:

1. Open the **SharePoint** application.
2. **Edit** () a library.
   - The system opens the library on the **Files** tab, showing a list of all available files.
3. Click **Delete** () next to a selected file.

   - This opens a confirmation dialog.
4. Click **OK**.

The system deletes the file from the library in both Xperience and SharePoint, where it is moved to the recycle bin. This means you can later restore the file in SharePoint.

If you restore the file from the recycle bin in SharePoint, it is instantly available in SharePoint. However, in Xperience it is available only after [synchronization](https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-sharepoint/managing-sharepoint-libraries.md#synchronizing-sharepoint-libraries) with SharePoint, i.e. with delay.

## Displaying SharePoint files on your website

To learn how to use files from SharePoint libraries on the pages of your website (for example display images, file download links, etc.), see [Displaying SharePoint data on the live site](https://docs.kentico.com/13/integrating-3rd-party-systems/integrating-sharepoint/displaying-sharepoint-data-on-the-live-site.md).
