Obsidian-Notes-List icon indicating copy to clipboard operation
Obsidian-Notes-List copied to clipboard

Setting a custom folder to get notes from is not working as expected (i.e. pages: "Notes/Theology")

Open yonkim-seoul opened this issue 2 years ago • 1 comments

Hi. When I try to set {pages: } with custom folder path, It is not working as expected. May I have some advise on this issue?

For example, dv.view("notesList", {pages: "", view: "normal"}) is working fine. However, dv.view("notesList", {pages: dv.pages('"NOTES/DAIL-LOGS"'), view: "normal"}) is not working with the following message

Dataview: Error while executing view 'ATOMIC NOTES/notesList/view.js.md'.

Error: Failed to parse query in 'pagePaths': Error: 
-- PARSING FAILED --------------------------------------------------

> 1 | ATOMIC NOTES/WORKOUT-LOGS
    | ^

Expected one of the following: 

'!', '(', '-', 'csv(', 'outgoing(', file link, string, tag ('#hello/stuff')

yonkim-seoul avatar Aug 10 '23 13:08 yonkim-seoul