I don’t know how to use reference columns and attachments with the custom builder, I wish I knew… But I am not a coder
Thanks… so the Kanban Card Columns are all hard coded. Basically, you would need to create a “KANBAN STAGE” column in your table, of the type Options, then create the “stage options” for that Kanban board.
Then you would need to edit the Kanban widget code and hardcode tose same stage options names into it. And then select that column in the “STATUT” right?
ok
after a lot of work with Chat GPT, and the API docs AND the forum, I finally found a way to
1 - get the connected table ID
2 - fetch metadata from the connected table
3 - thus discover options from Options Columns, connected table from Reference Tables, etc, even if the user chooses those columns (nothing hard coded)
4 - when editing or displaying, adapt fields for the specific types of columns.
That would allow the user for, in a Kanban table, simply select a column with Stages options and the code itself would retrieve all options of that column and mount on the fly a Kanban board with the same number of columns as options of the selected column.