TechLifeWeb

Repost 2024-05-11T22:19:15.000-07:00


Published by 
Scott Kingery
 on 

🚀via @secupriv

Original Mastodon Post

@liztai Your dataviews wil evolve and that might be a challenge when you have dataviews in your templates that you then likely want to update too.

My solution to that is to put a #DataviewJS snippet in the template that loads another note (call it a #Dataview #template) where the actual Dataview lives.

The code to load that other note:

```dataviewjs
dv.span(await dv.io.load("/full_path_to/note.md"))
```
Works like a charm and it makes life much easier.

#Obsidian #ObsidianMD @obsidianmd