What I’m trying to do
I am currently customising the properties section of my template for the Zotero integration plugin (for my PhD zettelkasten). Most of the properties get populated from the Zotero item. However, I have some properties, that are independent of the Zotero item, e.g.:
- created: The date, the literature note was first created
- changeLog: a list of main changes made to the file
These are properties common to all notes in my vault, not just literature notes. And I usually populate them manually. In other words, they should not be overwritten once I reimpot/update a literature note via the Zotero plugin.
For example, I first create the literature note the first time by importing the data from Zotero. Then I manually set the note creation date in Obsidian. Then I update/reimport the literature note via the Zotero plugin. As a unwanted result, the creation date property gets cleared.
How to avoid this? Is there even a way?
Things I have tried
I have tried surrounding the properties with the persist tag:
{% persist %}created:
changeLog:
{% endpersist %}
But it gives me an error message:
Error parisng template “…md”: (unknown path)
TypeError: n is not a function
I’ve also read the post on making tags persist, but they only give a workaround.