You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to only create literature notes for pdfs that do have some annotations, so ignoring those that are unannotated. To do this I'm attempting to use {% if annotations.length > 0%}... This works fine within the main template for the literature note, but for some reason in the template settings for the output path file name, including annotations.length creates an error. If I just get it to print {{annotations.length}} here, then it always prints 0, no matter how many annotations the file has.
I cannot figure out why this would work in the main template, but not the output path one and any advice on this would be really appreciated - thanks!
The text was updated successfully, but these errors were encountered:
Yeah, unfortunately annotations are not accessible to the output path templates. This is because the output path has to be computed before extracting annotations from PDFs. I'll have to think on this a bit to see if there's a good way to only create notes for items with annotations.
Hello,
I would like to only create literature notes for pdfs that do have some annotations, so ignoring those that are unannotated. To do this I'm attempting to use {% if annotations.length > 0%}... This works fine within the main template for the literature note, but for some reason in the template settings for the output path file name, including annotations.length creates an error. If I just get it to print {{annotations.length}} here, then it always prints 0, no matter how many annotations the file has.
I cannot figure out why this would work in the main template, but not the output path one and any advice on this would be really appreciated - thanks!
The text was updated successfully, but these errors were encountered: