[GH-ISSUE #656] Extracting file names and extensios for use as CF in Path Templates #512

Open
opened 2026-02-25 21:32:05 +03:00 by kerem · 1 comment
Owner

Originally created by @metrolan on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/ciur/papermerge/issues/656

Originally assigned to: @ciur on GitHub.

When working with path templates, it's helpful to extract the original document name and extension.
Something like {{document.name}} and {{document.ext}}
This way, files of different formats, such as jpg, tiff, and pdf, can share the same template, while retaining, if desired, the original names and extensions when saved in PM.

Originally created by @metrolan on GitHub (Apr 14, 2025). Original GitHub issue: https://github.com/ciur/papermerge/issues/656 Originally assigned to: @ciur on GitHub. When working with path templates, it's helpful to extract the original document name and extension. Something like `{{document.name}}` and `{{document.ext}}` This way, files of different formats, such as jpg, tiff, and pdf, can share the same template, while retaining, if desired, the original names and extensions when saved in PM.
Author
Owner

@ciur commented on GitHub (Apr 15, 2025):

Thank you for opening ticket. This feature will be implemented as part of 3.5 release.

<!-- gh-comment-id:2803698672 --> @ciur commented on GitHub (Apr 15, 2025): Thank you for opening ticket. This feature will be implemented as part of 3.5 release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#512
No description provided.