Create a table of certain Properties from the files within a folder. I have four different Vaults. The code works in all but one Vault (course the one I need).
Things I have tried
The Code could not be more simple.
table Character as “Character”, Number as “Chapter No”
FROM “Chapters”
(I’ve left out the ```dataview line and end block.)
Character and Number are properties within the files in the folder Chapters. This code works in other vaults (when I change the property and folder name that exists in that vault).
I assumed there might be a plugin that interferes with this query, but I’ve made changes to the plugins in the vault that works and the ONE vault with the issue to have the same plugins with no success.
The vaults I’ve created are:
MyVault (the one with the issue)
Our Note Vault - where daily notes reside
Plants - where data on plants reside
CD Release Process - other stuff
That’s frustrating. What part isn’t working: there’s an error message, or you get a list of notes but no values in the columns, or you get an empty table with no notes and no error message, or something else?
If there’s an error message, can you give more info?
If no error message, then here’s the troubleshooting I would do. The first steps you probably already thought of, but worth double-checking:
For an empty table, check that the path matches.
Is the folder path exactly “Chapters” with that capitalization and no deeper path?
Remember that it needs the full path if it’s in another folder, e.g., FROM "Book 1/Chapters"
For empty columns, check the properties.
Does the folder for sure contain notes that have values in those two properties?
Are names exactly right: “Character” and “Number” with that capitalization?
If still empty, then disable all plugins, all snippets, and theme to see if you get a result. (Trying to imitate this vault’s settings in one of your other vaults could still miss something.)
And if still empty, then maybe paste here the YAML of an example chapter note, and folks can see if something looks amiss. Even though it’s just two properties and you have them working in your other vaults, a typo or formatting bobble is always possible.
Disabling the plugins worked to get the list. I’ve enabled those that I absolutely need and it still works. Obviously, there’s a plugin that messes with the folder structure that dataview uses. . . or something like that.