# 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:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![lenainjaune](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lenainjaune](https://forum.collaboraonline.com/u/lenainjaune)\
**Post date:** [January 18, 2026, 4:49pm UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/1 "2026-01-18T16:49:39Z")

</div>

Hi 🙂

I do not know if I post in the right section. In this case could you move it in the fitted section.

We are french and let is train an association under the 1901 law in the aim of reach food autonomy. Our web hosting provider is Framasoft a french popular education association under the 1901 law too which housing a NextCloud technology with a Collabora suite.

As far as I am concerned I am a simple volunteer participant in the collective.

* * *

We store our documents in a cloud tree, and I asked to myself if it can be possible to auto insert the location in all documents (for example from header or footer) because it will be more comfortable to find it.

I discovered we can insert a file location field (Document \> File name \> Path/File name) but when I did it I stared it is the temporarily real system location like`/tmp/user/docs/`\<alphanum\_string\>`/260114.odt` which is usefulness and do not indicates the document is in `ODJ & CR / COORDO / CR / 260114.odt` cloud tree.

I suppose it is possible to modify this behaviour, and/or add a new custom field and/or modify the default template and/or execute a macro which do the same.

I am awareness of this possibility, but for this moment I do not administrate nor the NextCloud configuration, nor the Collabora configuration. What I wish is to have the simplest way to indicate how to achieve this to our tool administrator or assist her/him.

Is it easily possible for now in our scope ? Or will we do contact our Framasoft provider ?

Here is our NextCloud/Collabora version information :

`COOLWSD version: 25.04.7.3(git hash: a0576a3364)`  
`LOKit version: Collabora Office 25.04.7.3(git hash: 4ad7ba3245)`  
`Served by: unknown`  
`Server ID: d4e2c7a1`  
`WOPI host: nextcloud 31.0.9.1 - richdocuments 8.7.5`

* * *

Thank you in advance for the time you will spend to help us.

With adelphity 🙂

lnj

---

<div class="post-metadata">

**Author:** ![lenainjaune](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lenainjaune](https://forum.collaboraonline.com/u/lenainjaune)\
**Post date:** [January 20, 2026, 8:03am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/2 "2026-01-20T08:03:03Z")

</div>

Nobody can help me ? Too complicated ? My request is not clear enough ? Bad forum ? Not patient enough, the answer will come soon ?

---

<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 20, 2026, 9:02am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/3 "2026-01-20T09:02:51Z")

</div>

hi @lenainjaune Sorry for late reply. I am finding solution here give me few min i will revert back to you ASAP

Thanks  
Darshan

---

<div class="post-metadata">

**Author:** ![lenainjaune](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lenainjaune](https://forum.collaboraonline.com/u/lenainjaune)\
**Post date:** [January 20, 2026, 9:26am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/4 "2026-01-20T09:26:34Z")

</div>

Cool … no problem 😄 !

Take your time there is no urgency but just I wanted to verify if I posted in the right place and if I could expect a response 😉

---

<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,

---

<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:56am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/6 "2026-01-22T08:56:35Z")

</div>

In short 🙂

- The **Nextcloud folder path cannot be inserted automatically** into documents in Collabora Online.

- The “File path” field shows a temporary `/tmp/...` server path and **this is expected**.

- There is **no setting, template, or macro** that can change this today.

- This would require new functionality in **Nextcloud / Collabora / WOPI**.

- The only practical workaround now is:

---

<div class="post-metadata">

**Author:** ![lenainjaune](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lenainjaune](https://forum.collaboraonline.com/u/lenainjaune)\
**Post date:** [January 22, 2026, 10:48am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/7 "2026-01-22T10:48:25Z")

</div>

Thank you for your help and your detailed answer 😉 .

The node’s problem seems to me very clear.

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

Yeah but usefulness for the user …

Then we will emphasise that we must do it manually in a procedure.

That is a shame, it would have been useful. Have you considered implementing it soon ?

---

<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, 10:51am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/8 "2026-01-22T10:51:12Z")

</div>

@lenainjaune I can’t commit this feature myself, but it would be helpful if you could open an issue on GitHub so the developers, team, and community can see it. This way it can be considered for upstream once resources are available after current tasks.

> **[Build software better, together](https://github.com/CollaboraOnline/online/issues/new/choose)**
>
> GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

Thanks,  
Darshan

---

<div class="post-metadata">

**Author:** ![lenainjaune](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lenainjaune](https://forum.collaboraonline.com/u/lenainjaune)\
**Post date:** [January 22, 2026, 10:54am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/9 "2026-01-22T10:54:54Z")

</div>

I read again this :

> [@darshan](#):
>
> a **manual custom field** (metadata)

as a workaround. I am not sure to really understand.

We can build a custom field which retrieve the cloud location ? In the case, how to build this field ? Syntax ?

---

<div class="post-metadata">

**Author:** ![lenainjaune](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lenainjaune](https://forum.collaboraonline.com/u/lenainjaune)\
**Post date:** [January 22, 2026, 11:00am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/10 "2026-01-22T11:00:16Z")

</div>

OK I will open an issue as far as possible, if the custom field is not possible.

---

<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 26, 2026, 11:41am UTC](https://forum.collaboraonline.com/t/insert-cloud-location-for-all-documents-automatically/4358/11 "2026-01-26T11:41:37Z")

</div>


