Save Success Event

Save Success Event - app.record.index.edit.submit.success

An event triggered after the record has been successfully saved after clicking the save button on the record list page on the desktop.

Function

app.record.index.edit.submit.success

Properties of the Event Object

PROPERTY TYPE DESCRIPTION
appId Number The App ID.
recordId Number The Record ID.
record Object A record object that holds data of the saved record.
type String The event type.

Available Event Object Actions

None

Sample showing the datetime the record was updated

1
2
3
4
5
// Display the updated date time after saving.
kintone.events.on('app.record.index.edit.submit.success', function(event) {
  var record = event.record;
  alert('The updated date time is ' + record.Updated_datetime.value + '.');
});

Limitations

  • This event is only available on the Desktop.
  • This event cannot be used with an app embedded on a space.
  • The event will not trigger if the record does not successfully save.
  • Refer to the Limitations section of the following article for more details:
    Event Handling