You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the property key for the v5 task id configurable in field mapping #2663
TaskNotes v5 gives every new or converted task a UUID in the id frontmatter property. Every other task property can be renamed under Properties (title, status, priority, due, scheduled, contexts, projects and so on), but this key is fixed.
Some vaults already use id for something else. In mine it is a vault-wide convention: every note's id equals its filename stem, and a pre-commit lint enforces it across all note types, tasks included. When v5 writes a UUID there, every new task fails that rule, and the two meanings of id cannot both hold in one file.
Request: add a property key for the task ID to the field mapping, defaulting to id so nothing changes for existing users. A vault like mine could then map it to, for example, tasknotes_id and keep its own id.
Why it seems safe:
The docs already treat the ID as a model field read directly from frontmatter, so it would be read through the mapped key like the others.
Tasks without an ID stay valid and are not migrated, so a mapped key needs no migration either.
getById() and the mdbase clients would look the ID up under the mapped key.
Today's workaround: stay on 4.18.x, which writes no ID. That means missing v5 and the TaskNotes App.
Thanks for the clear write-up and offer to test! This is tracked in #2574 with an implementation open in PR #2576 (and matching app support in tasknotes-app#499). Closing this as a duplicate so everything stays in one place.
TaskNotes 5.x covers this: the id property can now be mapped to another frontmatter key in the field mapping settings, which is exactly what this request needed. Closing, thank you!
Activity
idfield? #2574callumalpass commentedon Nov 22, 2026
Thanks for the clear write-up and offer to test! This is tracked in #2574 with an implementation open in PR #2576 (and matching app support in tasknotes-app#499). Closing this as a duplicate so everything stays in one place.
timrutzen commentedon Nov 23, 2026
Note
🤖 Eos (AI assistant) responding on behalf of Tim
TaskNotes 5.x covers this: the id property can now be mapped to another frontmatter key in the field mapping settings, which is exactly what this request needed. Closing, thank you!