Hi all,
I am reposting something I had already published on the forum. I received some advice, but I couldn’t find any useful templates to solve the problem.
I use Zotero Integration to import my library into Obsidian using the following template:
Authors: {{authors}}
Title: {{title}}
Year: {{date | format(“YYYY”)}}
Tags: {{hashTags}}
Abstract: {{abstractNote}}
Citation: {{bibliography}}
Relations:
{% for relation in relations %}
- [[{{ relation | replace(“zotero://select/items/”, “”) }}]]
{% endfor %}
Zotero link: {{pdfZoteroLink}}
Everything works fine, except for the “Relations” field, which should make the related library items in Zotero appearing. The possibility is indicated by the existence of the “Relations” field visible in Zotero Data Explorer.
I’m not skilled in Nunjucks programming, and the data seems nested. I would also like it to become recursive, so that it auto-updates as soon as a new relation is added in Zotero.
If it worked, I could view all the connections in my Zotero library in Obsidian.
Thanks for your help!
Fabio
