> For the complete documentation index, see [llms.txt](https://docs.zeedrive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zeedrive.com/feature-guide/locks-office-documents-for-exclusive-editing.md).

# Locks Office Documents For Exclusive Editing

Your users may prefer working with Office documents in an *exclusive* mode, that is, only the user that first opened the document has exclusive editing rights over the document. If another user opens the document, it will open for read-only. This is the default behaviour when working with Office documents on a network file server.

When starting a new <code class="expression">space.vars.PRODUCT\_NAME</code> subscription, *exclusive editing* is the default behaviour when opening Office documents from your <code class="expression">space.vars.PRODUCT\_NAME</code> network drives.

On opening a document in Office, <code class="expression">space.vars.PRODUCT\_NAME</code> acquires a SharePoint lock on the document preventing other users from opening the document for editing.

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FhfdXmu6qcTydmWwX4TTO%2Fimage.png?alt=media&amp;token=bcbc0b94-ceb9-417d-b76c-8aa959ff4183" alt=""><figcaption><p>When opening an Office document from a <code class="expression">space.vars.PRODUCT_NAME</code> mapped network drive, if the document is already locked for editing, Office informs the user and offers an option to open the document for reading</p></figcaption></figure>

<code class="expression">space.vars.PRODUCT\_NAME</code> maintains the lock on the document for the duration the document is opened from <code class="expression">space.vars.PRODUCT\_NAME</code>. On closing the document, the lock is released, allowing another user to open the document for editing.

{% hint style="info" %}
The specific Office applications supported are Excel, Word, and PowerPoint and the document types .doc, .docx, .xls, .xlsx, .xlsm, .ppt, and .pptx
{% endhint %}

<code class="expression">space.vars.PRODUCT\_NAME</code> supports an alternative option for opening Office documents; [open for co-authoring](https://docs.zeedrive.com/feature-guide/supports-office-co-authoring-and-autosave.md). When opened for co-authoring, advanced Office features are available such as collaborative editing and AutoSave.


---

# 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.zeedrive.com/feature-guide/locks-office-documents-for-exclusive-editing.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.
