Onload Event

Onload Event - 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.
type String The event type.

Control based on Field's Value

Sample

1
2
3
kintone.events.on('app.record.print.show', function(event) {
  alert('Print Screen has been displayed.');
});

Available Event Object Actions

By returning a kintone.Promise object in the event handler, the next operations can be processed after waiting for asynchronous processes in the event handler to finish.

Action Limitations

These actions are only available on the Desktop, and not on the mobile.