Is there a way to link inline dataview function?

What I’m trying to do

Hey guys, I want to automatically create links using the inline dataview function, for instance:


if the category is Finance, then I want it to automatically turn into [[Finance]]. But somehow it didn’t turn out as expected, instead, it shows [[=this.file.frontmatter.category]].

Try doing the following:

`= link(this.file.frontmatter.category)`

This produces a link to a page named in category. See also link()

1 Like

Sounds like a rendering problem, which is probably because you’re in the wrong mode.

Inline dataview queries don’t work in all modes, in my case it renders just fine in Live Editing mode, but doesn’t render in Live Preview or Source Editing.

Thanks it works!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.