Working with inline fields in Dataview
I am using Dataview in Obsidian to create some light automation in Obsidian, similar to what you could do in something like Notion. There's an inline syntax for settings fields.
Instead of a TOML header like:
--- summary: "This note is important" --- # Your note
You can inline it into the text somewhere:
# Your note Some note on something or something. summary:: This note is important
Note the special syntax, using two colons to let Dataview know you specify a field.
The syntax seems to work with most standard types, like texts, numbers, booleans, but also with dates or durations. You can also specify links, which are parsed as usual if put into the main body of the note, whereas they are not included in backlinks or graph view if you put them into the TOML header.
Actually, I found that it seems to also implcitly create arrays if used multiple times. Thus, the following TOML header:
can be replaced with these headings:
# people:: Mike Some note about Mike # people:: Paul Another note about Paul
Well, it's a bit ugly but it can be less redundant if you do something like meeting notes.
Not working: Nested objects
For my meeting notes, I tried to setup something, where I could specify a text summary for each person. E.g. in TOML,
summary: - Mike: "Summary for Mike" - Paul: "Summary for Paul"
and then e.g., try to plot a table of all meetings where Mike presented and their summaries. It's a bit clunky but it somewhat works.
Unfortunately, there does not seem to be a way to inline objects like this.
Disclosure: This post may contain affiliate links. This means I may make a small commission if you make a purchase.
In our university, we have regular meetings with all students plus staff and faculty, where we discuss the progress of each research …Read More...
Capturing new tasks is an important habit needed for successful use of a task management software. Many tasks in daily life involve …Read More...