Novi

Bharani
Follow
#8199 2026-09-15 17:37:13 Join
2
Home View
14m52s
Online time
If I can imagine it, I want to build it.
  • How to bind primary key and deletion from a database row to the binded document?

    2026-09-15 17:56
    Dynamic vs. Static Anchor Text: • By default, when a document is bound to a database row, the primary key uses dynamic anchor text that reflects the real document title. If you change the document title inside the document itself, the database row does update automatically. • However, if you type directly into the primary key cell in the database, SiYuan assumes you want to assign a static anchor text (alias) specific to this database view (see issue #10049 https://github.com/siyuan- note/siyuan/issues/10049). • It stores this as a custom attribute (custom-av-static-text) rather than modifying the underlying document title. This allows the same document to have different descriptive labels across multiple database views without altering the file itself. • Tip: If you clear the text in the primary key cell, it will revert to dynamically mirroring the document's actual title