mdelobelle / metadatamenu

For data management enthusiasts : type and manage the metadata of your notes.
https://mdelobelle.github.io/metadatamenu
MIT License
520 stars 27 forks source link

Meta Bind & Metadata Menu - Nested Objects #698

Closed ararrocks closed 3 months ago

ararrocks commented 3 months ago

Im trying to get those two plugins working together but i only get it to break YAML horribly.

I use Meta Bind JSEngine to create Nested values in a table. these are the two different versions of the YAML thats being created:

---
fileClass: test
address-Metadata-objectList:
  - address:
      type: Home
      country: SomeCountry
      state: SomeState
      postcode: 123123
      street: SomeStreet1
      city: SomeCity
  - address:
      type: Other
      country: OtherCountry
      state: OtherState
      postcode: 123123
      street: OtherStreet1
      city: OtherCity
address-metabindJS:
  - type: Home
    street: Somestreet
    city: SomeCity
    state: SomeState
    postcode: "123123"
    country: SomeCountry
  - type: Other
    street: OtherStreet
    city: OtherCity
    state: OtherState
    postcode: "123123"
    country: OtherCountry
---

i do prefer the way Meta Bind is creating these items in the list, without the "parent"ObjectList

and my settings in this image: SCR-20240625-lwnk

any idea how to get this working together? please help :)

ararrocks commented 3 months ago

i figured it out. ObjectList fields do not need a Object inside. 🤦‍♂️ without that extra step its also way better to use in metadata menu :) .... should have watched the demo videos a few more times ...