> For the complete documentation index, see [llms.txt](https://docs.the-cloud-storage-guide.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.the-cloud-storage-guide.io/cloud-storage-platforms/sharepoint-overview/storage-and-sharing/sharepoint-storage/document-libraries.md).

# Document Libraries

Document libraries are shared file repositories in a SharePoint site

Document libraries are storage centers for files within a SharePoint site.  Default site configurations include one document library automatically, and additional ones can be added as needed.&#x20;

### Adding and deleting from document libraries

Files can be uploaded to a document library in several ways.  Document libraries support drag and drop as well as direct uploads. File activity including access, deletions, and editing are all tracked. Versions are saved automatically and older versions can be restored from Version history.&#x20;

Users can require certain conditions be met in order to upload to document libraries. For instance, files can require approval from certain users to be uploaded. There is also the option to only allow certain users to view and edit particular files until approval has been given.&#x20;

When editing a file, users can choose to "check out" the file. This means only that particular user can edit the item until checked back in. This stops multiple users from working on the same file at once and creating conflicting changes.&#x20;

### Document Libraries and Sharing

Document libraries are designed to hold related files for a project within a site. As a result, different document libraries can have different sharing permissions to ensure that the correct people have access to relevant files.&#x20;

While files inherit the permissions from the document library, Individual items can be shared with more or fewer restrictions. SharePoint will show a warning when such a condition exists, or if access may be limited in unexpected ways.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.the-cloud-storage-guide.io/cloud-storage-platforms/sharepoint-overview/storage-and-sharing/sharepoint-storage/document-libraries.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
