How can I reference fields in the current file? #975
Replies: 4 comments 15 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks @AB1908 - but I get an error:
|
Beta Was this translation helpful? Give feedback.
-
Not quite. The docs are poorly worded :). "You can implicitly reference the current file via [[#]] or [[]]" is written under the "4. Links" bullet point. It explains that "To obtain all pages which link TO [[note]], use [[note]]". Therefore, [[]] would logically give pages which link to the current page, not the current page itself. |
Beta Was this translation helpful? Give feedback.
-
To target the current note in LIST WITHOUT ID link(subtaxa)
FROM "yourfolder/Eukaryota"
FLATTEN subtaxa |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got this working query in a file called "Eukaryota":
LIST WITHOUT ID link(subtaxa) FROM "Eukaryota" FLATTEN subtaxa
I'd like to replace "Eukaryota" with a reference to whatever the current file is, so I can use the query in any file. Is there anything I should put there?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions