PKM-er / obsidian-zotlit

A third-party project that aims to facilitate the integration between Obsidian.md and Zotero, by providing a set of community plugins for both Obsidian and Zotero.
https://zotlit.aidenlx.top
MIT License
583 stars 25 forks source link

Infer saving directory in the Obsidian Vault from Zotero's collection hierarchy #339

Open jakobw123 opened 2 months ago

jakobw123 commented 2 months ago

Hello ZotLit-Community,

I was playing around with the settings and templates of the ZotLit plugin lately. I wanted the plugin to dynamically infer the saving directory for the created literature note in the Obsidian vault from the collection hierarchy in Zotero the paper is in.

Unfortunately, settings only allow me to set the saving directory globally. For my workflow both the global setting as well as the dynamic inference would be appreciated:

Also, I haven't been able to adjust the templates in such a way to support dynamic path inference. I'm not sure if this is even possible via template files. Also tried to insert the collection hierarchy as a folder path into the name of the literature note, but this didn't work as slashes cause errors. This problem has been stated in #207 (stale) already.

Has anyone been able to make it dynamic via template file? Or would this be an enhancing feature?

Thanks in advance for your time.