mara-li7k downloadsAutomagically copy dataview inline field (and their values, even calculated!) into frontmatter properties and keep them sync.
Dataview Properties allows you to automatically copy Dataview inline fields (and their values, even calculated ones!) into frontmatter properties and keep them synchronized.
The plugin offers the following features:
[!WARNING] The Dataview plugin must be installed and activated in your Obsidian vault.

[!TIP] Both options (frontmatter cleanup, ignore and text removing) supports insensitive and ignore accent recognition:
- Insensitive : The plugin will ignore the case of the field names when checking for matches. For example, if you have a field named "Name" and you set "name", both value will be recognized as the same.
- Ignore accent : The accented characters will be converted to their non-accented counterparts. For example, if you have a field named "école" and you set "ecole", both value will be recognized as the same.
/mypath.*/i) or using a frontmatter key (by default, it is dv_excluded: true). These settings are under the button "Excluded files".dv_. An empty prefix is not supported./ (ex: /^name$/i)./ (ex: /^name$/i). %%. Like ignored fields, you can use regex by encapsulating the pattern with / (ex: /^name$/i).[!CAUTION] Only string/numbers/date are supported in the frontmatter. When the evaluated queries returns a html, it will converted to markdown.
[!TIP] The keys are copied into the frontmatter with a prefix (that you can configure) to avoid conflicts with existing properties (and Dataview metadata). The default prefix is
dv_. An empty prefix is not supported.
By default, the plugin automatically synchronizes the Dataview queries within the frontmatter (proprieties) when the metadata are changed. This synchronization is triggered based on the configured interval (default: 1000ms).
You can also trigger the synchronization manually by using the command palette (Ctrl+P | Cmd + P) and searching for "Dataview Properties : Add the Dataview field to the frontmatter". This will force the plugin to check for changes in the Dataview queries and update the frontmatter properties accordingly.
[!TIP] For a file containing:
--- name: "name" force: 12 agility: 5 --- # Hello world Vitality:: `$= this.force + this.agility`The plugin will update the file accordingly:
--- name: "name" force: 12 agility: 5 dv_Vitality: 17 --- # Hello world Vitality:: `$= this.force + this.agility`
The plugin also works with more complex queries, like links (and they will be converted to markdown links as [[mylinks]]), date or numbers.
[!CAUTION]
- Widget and function won't be added to the frontmatter.
- HTML will be converted to markdown.
https://github.com/Mara-Li/obsidian-dataview-propertiesdataview-properties.zip in .obsidian/plugins/ pathTo add a translation:
src/i18n/locales folder with the name of the language (ex: fr.json). <% tp.obsidian.moment.locale() %>en.json file in the new filei18n/i18next.ts :import * as <lang> from "./locales/<lang>.json";ressource part with adding : <lang> : {translation: <lang>}