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,