Boost!for kintone
EVENTS

Events

These are the types of record save events and the properties of the event object passed to the event handler.

01

Before record add screen save event

Target plugins

Boost! Injector

Event type
bst.create.submit
Properties of the event object
Property Type Description
type String

Event type

container DOM

MAIN element

<main class="bst-injector-body"></main>
record Object

Record object

Sample
(() => {
	"use strict";
	bst.event.on('bst.create.submit', (event) => {
		console.log(event);
		return event;
	});
})();

If you set the error property of the event object to true and return it, saving is canceled.

02

Record add screen save success event

Target plugins

Boost! Injector

Event type
bst.create.submit.success
Properties of the event object
Property Type Description
type String

Event type

container DOM

Same as the container property of the bst.create.submit event.

record Object

Record object

Sample
(() => {
	"use strict";
	bst.event.on('bst.create.submit.success', (event) => {
		console.log(event);
		return event;
	});
})();
03

Before record edit screen save event

Target plugins

Boost! Injector

Event type
bst.edit.submit
Properties of the event object
Property Type Description
type String

Event type

container DOM

MAIN element

<main class="bst-injector-body"></main>
record Object

Record object

Sample
(() => {
	"use strict";
	bst.event.on('bst.edit.submit', (event) => {
		console.log(event);
		return event;
	});
})();

If you set the error property of the event object to true and return it, saving is canceled.

04

Record edit screen save success event

Target plugins

Boost! Injector

Event type
bst.edit.submit.success
Properties of the event object
Property Type Description
type String

Event type

container DOM

Same as the container property of the bst.edit.submit event.

record Object

Record object

Sample
(() => {
	"use strict";
	bst.event.on('bst.edit.submit.success', (event) => {
		console.log(event);
		return event;
	});
})();
05

Before editable list view screen save event

Target plugins

Boost! Spread

Event type
bst.view.submit
Properties of the event object
Property Type Description
type String

Event type

container DOM

The table element in which the data is placed

<table class="bst-view"></table>
records Object

Object that stores the records to add and the records to update separately

records.post Array

Array of record objects to add

records.put Array

Array of records to update

records.put[].id String

Record ID

records.put[].record Object

Record object

viewId String

View ID

Sample
(() => {
	"use strict";
	bst.event.on('bst.view.submit', (event) => {
		console.log(event);
		return event;
	});
})();

If you set the error property of the event object to true and return it, saving is canceled.

06

Editable list view screen save success event

Target plugins

Boost! Spread

Event type
bst.view.submit.success
Properties of the event object
Property Type Description
type String

Event type

container DOM

Same as the container property of the bst.view.submit event.

records Object

Same as the records property of the bst.view.submit event.

viewId String

View ID

Sample
(() => {
	"use strict";
	bst.event.on('bst.view.submit.success', (event) => {
		console.log(event);
		return event;
	});
})();