Skip to content
Discussion options

You must be logged in to vote

Right, I have figured it out.

In my variety pages, I was using an alias to refer to the parent link. For the curious among you, the alias was "[[Tomatoes]]", and the source file was called Tomato.md. Dataviewjs was unable to resolve this link when querying for properties of the Tomato.md page (e.g. dv.page("Tomatoes").file.name), causing the entire array and script to crash with TypeError undefined. Simply running dv.paragraph(dv.page("beans")) rendered the underlying pages (except tomatoes) fine, further hiding the problem.

On hindsight, seeing something like this would have been really helpful:

Peas
-
Potatoes

It's possible that something like this already exists in the console and I a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by flatlines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant