Record Print Events
Onload Event (desktop)app.record.print.show
An event triggered after the print page is displayed on the desktop.
Function
app.record.print.show
Triggered Timing
After the print page is displayed
Properties of the Event Object
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
appId | Number | The App ID. |
record | Object | A record object that holds data of the record of the print page. |
recordId | Number | The Record ID. |
Control based on Field's Value
Please refer to Show/Hide fields.
Sample
Available Actions
Show/Hide fieldskintone.app.record.setFieldShown
Changes fields to be hidden or shown. For the second parameter, "false" makes a field hidden, and "true" makes a field shown.
Function
kintone.app.record.setFieldShown("fieldcode","true/false")
Sample
Hiding a field with a field code of "singleline_text0" on the print page.
The below fields cannot be hidden:
- Label
- Border
- Blank space
Action Limitations
These actions are only available on the Desktop, and not on the mobile.