What I’m trying to do
Hi community,
I have a question which I haven’t been able to solve on my own so I’d highly appreciate any hints/feedback/suggestions whatsoever:
My starting point is Christian B.B. Houmann’s Project & Goal Workflow which basically uses his Quickadd plugin to let you easily create new (auto-tracked) Goals and then create and track corresponding Projects that help achieve said Goals. You are also able to view and manage them via Dashboards/Kanban Boards.
I already set this up and it’s working fine, however, I want to tweak it a little bit to fit my use-case, which is mainly academic writing:
Let’s say I have already created “Goal 1” and a “Project 1” that belongs to the Goal (because it has the frontmatter “tag: project” and the Inline field “Goal:: Goal 1”)
Now I would love to find a way that let’s me refactor new Notes from “Project 1” (probably using Refactor plugin) as brother- or sub-projects that are linked to the same Goal, or even inherit all t
Things I have tried
This “inheritance of metadata” is what my question really is about:
I’ve thought of a few ways that might somehow work, but I haven’t figured out which one REALLY works like I need it to.
-
The refactor plugin:
- lets you import selected content into a new note, but I’m not planning on selecting the metadata too - just the content to refactor.
- lets you create a template that inserts the old {{title}} into the new note
-
The Dataview plugin:
- lets you create inline-queries to display metadata-values from a selected file and key:
= [[Project1]].Goal
displays as [[Goal1]] in live-preview.- However, I can’t access this “dynamic” value from the Dashboard/Kanban-views or generally other dv-queries.
- → Is there a way to turn this “dynamic” value into a static one (and “burn it in”, so to speak) ?
- However, I can’t access this “dynamic” value from the Dashboard/Kanban-views or generally other dv-queries.
- lets you create inline-queries to display metadata-values from a selected file and key:
-
the Templater plugin:
- my first hope was that Templater would be able to “burn it in” for me, but <%tp.frontmatter.<variable_name>%> let’s you only access frontmatter variables from the current file. However I need to access the frontmatter + Inline variables from another (= the previous) file…
- from what I’ve read so far, it seems I would have to use some type of JS magic, or at least find a way to access the dataviewAPI from within templater, but since I’m not a coder I won’t be able to do this on my own…
-
The QuickAdd Plugin:
- I’m guessing one could probably do the whole workflow within QuickAdd as it let’s you create whole sequences of various actions, which are then automatically performed.
- e.g. I could create a following macro-sequence:
-
- trigger Refactor-Plugin to create new file from selected content
-
- insert <% templater functions %> or {{QuickAdd: Values}}
-
- trigger/replace those to end up with inherited metadata.
-
- However, I’m not really sure how to properly setup the steps 2 and 3.
- e.g. I could create a following macro-sequence:
- I’m guessing one could probably do the whole workflow within QuickAdd as it let’s you create whole sequences of various actions, which are then automatically performed.
-
Has anyone built a similar system and can share how they’ve achieved it?
-
Any general tips on “Metadata Inheritance”?
- I know Obsidian is not primarily a database, but seeing what other people have created with it, I’m sure there must be a way to do achieve this ‘relatively simple’ operation of inheriting metadata.
I’m open to all possible approaches of figuring this out and any help is much appreciated, thank you!
Kind regards,
Leo