I don’t know a solution for that either.
Workaround
Insert once in a document
the File name - field:
Example: Test 1.odt
Select the inserted “File name” field.
Select menu Tools > AutoText.
Enter “FN” for the “Shortcut”.
Select the “AutoText” and “New” buttons.
(AutoText done)
Now you can type “FN” anywhere in a document and press F3.
The filename updates automatically.
Alternatively, select Tools > Update > Update Fields (F9) from the menu.
Test 1.odt
Insert once in a document
the Path/File name - field:
Example: C:\E_Ask DE+EN\Test 1.odt
Select the inserted “Path/File name” field.
Select menu Tools > AutoText
Enter “PFN” for the “Shortcut”.
Select the “AutoText” and “New” buttons.
(AutoText done)
Now you can type “FN” or “PFN” anywhere in a document and press F3. The filename updates automatically. Alternatively, select Tools > Update > Update Fields (F9) from the menu.

Test 1.odt (22,2 KB)
With me:
Version: 26.8.0.1 (X86_64)
Build ID: 2577b8a8e9a5d3f37124fb86a89387e3807953a7
CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-US
Calc: CL threaded