# Insert cloud location for all documents automatically

**URL:** <https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358>\
**Category:** User Support\
**Created:** [January 18, 2026, 4:49pm UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358 "2026-01-18T16:49:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)\
**Post date:** [January 22, 2026, 8:55am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/5 "2026-01-22T08:55:31Z")

</div>

hi @lenainjaune

Short answer first

No, it is not easily possible today to automatically insert the _logical Nextcloud folder path_ (for example  
`ODJ & CR / COORDO / CR / 260114.odt`) into documents via headers, footers, fields, templates, or macros in Collabora Online.

## Why the built-in “File path” field does not work

You already found the right feature in LibreOffice / Collabora:

**Document → Field → File name → Path/File name**

This field shows the **local filesystem path on the Collabora server** , not the cloud path.

This happens because:

- Collabora Online edits a **temporary local copy** of the file
- That copy lives in `/tmp/...` on the Collabora server
- The real Nextcloud path is **not known to LibreOffice core**
- WOPI (the protocol between Nextcloud and Collabora) does not expose the logical folder tree as a document property

So the behaviour you observed is correct and unavoidable at the moment.

What you are seeing (`/tmp/user/docs/<random>/260114.odt`) is expected behaviour and not configurable from the document side.

## Should you contact Framasoft?

You **can** , but mainly to confirm the limitation,

---

_[View the full topic](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358)._
