How to add a button for adding subitems to every row of table view

Adding buttons and adding links to a table view has been described in the docs. By using the %ID% placeholer you can use the record’s primary key as parameter for links. For example for opening the record in detail view. In this article we are going to use the %ID% parameter for adding a sub-item (child record / detail record) to the row. The Online Clinical Management System (OCMS), which I’m using in many examples, contains patients and appointments. Appointments are stored in a table named events. And the column name_patient has been configured as lookup field refering patients table. …