Global Attributes (Feature Request)

This post was last updated for 305 days ago, and the information may already be changed

From what I understand, currently Attributes are not shared across blocks. So if I want multiple blocks to have the same custom Attribute, I need to make sure I remember exactly how it's spelled every time.

Ideally I'd like to be able to create custom Global Attributes. They would be available in a dropdown whenever adding an Attribute to a block.

Also, ideally I'd also like to be able to enforce the content type for each custom Attribute (text, number, true/false, multi-select etc.).

This is to make sure the data is consistent across my entire workspace.

Related post: Attribute View ETA

    Related articles

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • leolee9086

      I guess the AttributeView feature under development (testing may start around the end of this month) should partially meet such requirements.

      Looking forward to it

      1 Reply
    • MiscReply
    • forestknows
      Author

      Not sure I fully understand this, but I think it suggests shared attributes won't be possible, at least at first

      Issue #8899 · siyuan-note/siyuan

    • ednico
      VIP Warrior

      This was posted on Twitter oovernight: https://twitter.com/b3logos/status/1677702712224538624?s=20

      "Attribute View in SiYuan is just a little like the simple version of the Notion database but runs locally."

      Image

      Can't wait to see what the incredible team create!

    • arminta7

      Yes, I agree this would be a wonderful feature addition.

      More support in general for structured data throughout the workspace would be high on my priority list.