mgmeyers / obsidian-zotero-integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero into Obsidian.
GNU General Public License v3.0
1.09k stars 55 forks source link

Annotations show up properly in Zotero Data Explorer but not when used as template variables #323

Closed angelineyeow closed 10 months ago

angelineyeow commented 11 months ago

I can see the annotations variable having 138 items in Zotero Data Explorer, as shown below. This behaviour is expected. image

The following is a segment of my template text image

When I switch to Create Literature Note option, the annotations variable exists. This behaviour is expected. image

However, when I run the obsidian command Zotero Integration: Create Literature Note, the annotations.length == 0 condition is true. This behaviour is unexpected. image

The following is the output of the command. This behaviour is unexpected. image

As you can see, using Zotero Data Explorer, with the Create Literature Note option, we don't see the text test2. However, if we run the obsidian command Create Literature Note, we see the text test2.

mgmeyers commented 10 months ago

@angelineyeow could you update and see if you still encounter this issue in the latest version of the plugin?

Also, please check the developer console for any errors (red text). You can open it with ctrl + shift + i / command + opt + i.

mgmeyers commented 10 months ago

Closing this. Let's keep track in #321