Use case or problem
I want to be able to do the following:
Define a property only once (like a name, a set of keywords, …)
That propert can be a link (name: [[Peter Parker]])
That property can be picked up by Humans, Dataview and Obsidian
** Humans should be able to read it, use it inside the note (in tables, in bullet points, …), change it, click on it (if it’s a link)
** Dataview should be able to find it
** Obsidian should be able to see it as a link in outgoing links and for the graph view
Proposed solution
This issue:
opened 06:25PM - 04 May 21 UTC
closed 03:21PM - 09 May 21 UTC
enhancement
Hi! I was wonder if you can add the posibility of make clickables obsidian Links… on metadata. I think this is not possible but it would be a pretty cool feature.
`---`
`tags: #literature`
`author: [[Noam Chomsky]]`
`---`
made a very good point:
---
keywords: ["[[Building]]", "[[Tower]]"]
---
`=this.keywords`
This allows you to formulate Links inside the YAML part and later use them in the note for them to be clickable. This makes them readable and interactable by
Human
Dataview
[ ] Obsidian
Now all we need is Obsidian to accept these as links in the graph view and “outgoing links” (as it partially does already, they are clickable)
Current workaround (optional)
This:
---
keywords: ["[[Building]]", "[[Tower]]"]
---
`=this.keywords`
Works for 2/3 Targets. Until i find something better, I’d suggest this and hope Obsidian fills the last 1/3.
Others have worked around it to get Obsidian and Dataview back in the loop, but now the human can’t reuse them on the note without redefining them:
Introduction
Hi there !
Adding support to links into the notes’ frontmatters has been one of the most active subject on this forum in recent years (hundreds of topics and answers have been written about this).
List of related topics For those who are interested, here is a non-exhaustive list of topics related to this subject : <a href="https://forum.obsidian.md/t/include-show-note-links-in-yaml-frontmatter-v0-8-5/4673">#4673</a>, <a href="https://forum.obsi…
`class:meta`
- creation:: 2023-01-21T18:55:12
- author:: [[John Doe]]
- parents:: [[Note]], [[Another note]]
- status:: #MayBePartial
I wanted to share another approach to have a frontmatter with wikilinks. I make use of a hidden text block, that is in between %%.
In addition to that I make use of the plugin Dataview and that is all.
The top of a note could look like this, and could be a used in a template:
%%
created:: 2023-01-26
updated:: 2023-01-26
type:: [[Research]]
rating:: 3
parents:: [[Parent1]], [[Parent2]]
%%
`=[[Dataview]].frontmatter1`
## Abstract
The line =[[Dataview]].frontmatter1 determines how the data wi…
%%
created:: 2023-01-26
updated:: 2023-01-26
type:: [[Research]]
rating:: 3
parents:: [[Parent1]], [[Parent2]]
%%
`=[[Dataview]].frontmatter1`
## Abstract
Related feature requests (optional)
Similar requests:
The best case already made for the Topic:
Mod-Edit: I renamed this thread to focus on wikilinks in YAML frontmatter. The other part of the title “Notion-like databases from metadata” is already possible with Dataview, Database Folder, and all related plugins.
First, I’d like to thank all contributors to Obsidian for making the absolute best knowledge management application!
Over the years many applications never quite delivered what I was looking for and ideas of a better system started accumulating in my mind. The most notable idea…
Further:
I’m currently using Obsidian for my genealogy research. I’m trying to track multiple people and their information that’s mentioned in multiple documents and I’d like to use dataview to view some of the information but I don’t know if it’s possible to do it.
If I have a document that mentions several people, I’ll tag each person and the relevant data for each person. Some of the fields could be blank, and the number of people mentioned won’t always be the same from one note to the next. For exam…
Include / show note links in yaml frontmatter (v0.8.5)
Problem
I was using note links in the yaml part to make references to other notes but they doesn’t work anymore in obs 0.8.5.
I don’t see the links to my other notes that were in the front matter in the graph view nor in the backlinks.
Another result of this is that my old links that were in the front matter don’t update when I rename them.
Feature request
A possible solution would be to have an options page for yaml front matter where a t…
Issues:
opened 02:48PM - 27 May 21 UTC
enhancement
help wanted
In this issue you added possibility to add wiki-link to another page: https://gi… thub.com/arnau/obsidian-metatable/issues/3
But this links don't create backlink for linked page.
Is it possible to fix it?
opened 06:25PM - 04 May 21 UTC
closed 03:21PM - 09 May 21 UTC
enhancement
Hi! I was wonder if you can add the posibility of make clickables obsidian Links… on metadata. I think this is not possible but it would be a pretty cool feature.
`---`
`tags: #literature`
`author: [[Noam Chomsky]]`
`---`
Context:
Yeah, great question. It has to be valid YAML or else the frontmatter won’t parse properly. But apart from that Obsidian is very forgiving. The following all work for me:
tag: one, two, three
tags: one, two, three
tags: ["#one", "#two", "#three"]
tags:
- one
- two
- three
A rule of thumb: Don’t to use the # symbol in the metadata unless you enclose the tag in quotes.
Steps to reproduce
Create a note with YAML front matter like so:
---
title: Text Expanders
date: [[2020-05-31]] 1:04 PM
tags: #software-dev #obsidian
---
Result
In edit view, I cannot follow links or open tags using ctrl+click or follow link hotkey
Environment
Operating system: Windows 10
Obsidian version: 0.6.7
Using custom CSS: No
3 Likes
A combination of the=this.keywords
usage with the hidden text block might already be a 3/3 solution here:
%%
keywords:: [[Building]], [[Tower]]
%%
`=this.keywords`
Will further test this.
First findings:
%%
url:: https://forum.obsidian.md/t/create-links-only-once-that-humans-obsidian-and-dataview-can-use/56709
%%
won’t work.
%%
url:: [Create links only once that humans, Obsidian and Dataview can use](https://forum.obsidian.md/t/create-links-only-once-that-humans-obsidian-and-dataview-can-use/56709)
%%
works, but the question stands if that’s true to a value expected by “url::”
Another important contribution:
Automation
I use templates to help create the YAML and metadata. I have a template for different note types.
At the start, I used TextExpander (app not plugin). I think it is easier to use templates for these larger version I have. TextExpander is good if you want to have drop down menus to chose from for any category.
I use Dataview to short and organize my YAML and inline Dataview content.
Where should metadata go?
My system is still a work in progress. Since the Dataview plugin came out, I’…