Zotero Integration: Can't set Import Location

Hi there! I’m very new to Obsidian so bear with me

What I’m trying to do

I am using the Zotero Integration Plugin. I have the template below. I want to set my Import Location so that when I create a Literature Note, it gets saved in a specific folder instead of in the base.

Things I have tried

There is a post from some years ago where the same issue was discussed but no real solution was posted, only deleting and reinstalling the plugin was suggested.

I tried deleting and reinstalling the plugin, I tried different levels of folders (Just folder_I_want, name_of_project folder/folder_I_want)

Any help would be appreciated!

Here is the template I’m using to import the notes

category: literaturenote

tags: {% if allTags %}{{allTags}}{% endif %}
citekey: {{citekey}}
status: unread
dateread:

[!Cite]
{{bibliography}}

[!Synth]
Contribution::

Related:: {% for relation in relations | selectattr(“citekey”) %} [[@{{relation.citekey}}]]{% if not loop.last %}, {% endif%} {% endfor %}

[!md]
{% for type, creators in creators | groupby(“creatorType”) -%}
{%- for creator in creators -%}
{{“First” if loop.first}}{{type | capitalize}}::
{%- if creator.name %} {{creator.name}}
{%- else %} {{creator.lastName}}, {{creator.firstName}}
{%- endif %}
{% endfor %}~
{%- endfor %}
Title:: {{title}}
Year:: {{date | format(“YYYY”)}}
Citekey:: {{citekey}} {%- if itemType %}
itemType:: {{itemType}}{%- endif %}{%- if itemType == “journalArticle” %}
Journal:: {{publicationTitle}} {%- endif %}{%- if volume %}
Volume:: {{volume}} {%- endif %}{%- if issue %}
Issue:: {{issue}} {%- endif %}{%- if itemType == “bookSection” %}
Book:: {{publicationTitle}} {%- endif %}{%- if publisher %}
Publisher:: {{publisher}} {%- endif %}{%- if place %}
Location:: {{place}} {%- endif %}{%- if pages %}
Pages:: {{pages}} {%- endif %}{%- if DOI %}
DOI:: {{DOI}} {%- endif %}{%- if ISBN %}
ISBN:: {{ISBN}} {%- endif %}

[!LINK]
{%- for attachment in attachments | filterby(“path”, “endswith”, “.pdf”) %}
[{{attachment.title}}](file://{{attachment.path | replace(" ", “%20”)}}) {%- endfor -%}.

[!Abstract]
{%- if abstractNote %}
{{abstractNote}}
{%- endif -%}.

Notes

{%- if markdownNotes %}
{{markdownNotes}}{%- endif -%}.

Annotations

{%- macro calloutHeader(type, color) -%}
{%- if type == “highlight” -%}
Quote
{%- endif -%}

{%- if type == “text” -%}
Note
{%- endif -%}
{%- endmacro -%}

{% persist “annotations” %}
{% set newAnnotations = annotations | filterby(“date”, “dateafter”, lastImportDate) %}
{% if newAnnotations.length > 0 %}

Imported: {{importDate | format(“YYYY-MM-DD h:mm a”)}}

{% for a in newAnnotations %}
{{calloutHeader(a.type, a.color)}}

{{a.annotatedText}}
{% endfor %}
{% endif %}
{% endpersist %}

The template file is not needed here.
I cannot investigate now (even I have given up on this or something as I have set the root folder and yeh, didn’t use the plugin in months), but I only faintly remember this. Adding quotes…, no, full path did the trick?

Anyway, I hunted down two links for you. Try what they came up with:

1 Like