Add Buttons to the Record Details Page
This article introduces how to place a button on Kintone’s record details page. The button is placed in a Blank space field of the Kintone App’s form.
In this example, the element of the Blank space field is obtained, and a button is placed inside. Clicking the button runs an alert script.
Prepare the App
Create an App and include a Blank space field in the form. Update the Element ID of the Blank space field to space_for_button.
After saving the settings and clicking on Update App, navigate to the Record details page. A button should appear where the Blank space field is.
In this example, the button was placed in the Blank space field. It can alternatively be placed in the header of the Record Details page by retrieving the element with the kintone.app.getHeaderMenuSpaceElement method.