Not sure what I’m doing wrong but I can’t get the include function to work on any data stored in arrays, such as list all files where folder path includes “xyz”.
And just for clearity, yes I know the example lists not completed tasks which is not it a specific folder, but I have tried the “include” function in many different without getting it to work.
So one of the things I’m trying to do:
For each research project I’m working on I have a separate file which all include task lists. In addition I have two folders, called “meetings” and “notes”, which ofte also includes task lists. To keep track of everything that is going on and not forget tasks from previous meetings I have a “research overview” file, and in this file I would like to list all not completed tasks within this folder or subfolder. I have other folder that I do not want to include. To make It clear the structure is something like this:
Vault:
folder A
meetings
meeting 1
meeting 2
notes
note 1
note 2
index file
project file 1
project file 2
folder B
folder C
So I would like to make a dataviewjs call within the index file to only include tasks within folder A including subfolders/files.
Oh yey, after reading this… I thought the “extra” ending bracket on the last line would close off the call but realized you were right and I was just missing an “)”. In any way, thanks alot! Its working. Feel pretty stupid
Thanks for the suggestion. For some reason what you posted with including the folder name within dv.pages(‘“folder name”’) does not work here. But since the other method did I’m happy. Have a nice day and thanks for your great contributions!!