TechLifeWeb

Exploring the digital life

List Everything Obsidian Dataview Can See on a Page


Published by 
 on 

If you have the Dataview Plugin installed in your Obsidian Vault, you can use this snippet of code to list all the fields and their value that dataview can see. This helps in programming Dataview queries because it helps you understand the structure of the page.

Put the following in a dataviewjs block

$= dv.span(dv.current())

Here is an example of the result of that code: Image showing the result of the dataview code being run

tags: Obsidian