Please consider the possibility:
-
In the database's relation column settings, add the ability to display records not only by key value but also by any data column to facilitate selection from a drop-down list Related data.
-
Access related data from the parent table using dot notation:
Parent table:
PK | col2 | col3 |
---|---|---|
1 | A | AA |
2 | B | BB |
Children table:
PK | Related | Template |
---|---|---|
1 | 1 | .action{ first .Related.col3 } |
Children table/Template result is AA
Welcome to here!
Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.
Signup About