API Updates for October 2023 (2nd Announcement)
Kintone conducted a scheduled maintenance update on 8th October 2023.
This is the 2nd announcement regarding the October 2023 Kintone API updates.
Find the first announcement in the
API Updates for October 2023
article.
The maintenance also includes the following API updates.
Update Summary
A feature update in July 2023 included a new feature which allows for comma-separated values in Number fields to be inputted. This feature can be enabled via the Update Options settings in the Kintone Administration panel. In the October 2023 update, the Event Object and JavaScript APIs will be updated to handle these comma-separated values.
This feature preview will be available via the Update Option's Monthly Channel under the New Features in Development section.
Kintone JavaScript API
New Features
Handling of Comma Separated Number Values
-
Comma-separated values used in the Number field will be returned as comma-less number values in the Event Object and JavaScript APIs
-
Similarly, double-byte characters or full-width characters will be sanitized and returned as single-byte characters.
- Related APIs
-
Record Create Event
-
app.record.create.show
-
Field Change Event
-
app.record.create.change.(fieldcode)
-
Save Event
-
app.record.create.submit
-
Onload Edit Event
-
app.record.edit.show
-
Field Change Event
-
app.record.edit.change.(fieldcode)
-
Save Event
-
app.record.edit.submit
-
Get Record Details
-
kintone.app.record.get()
-
Record Create Event
-
- Related APIs
Example
To illustrate, the values 1000
, 1,000
(comma separated), 1000
(extra whitespace characters), and 1000
(non-half-width characters) will all be sanitized to return 1000
in the event Object and related JavaScript APIs.
Feature Improvements
Event Handling for Sanitized Values
-
When comma-separated values, whitespaces, or double-byte characters are sanitized, as long as the final value does not change, an event will not be triggered.
- Related APIs
-
Field Change Event
-
app.record.create.change.(fieldcode)
-
Field Change Event
-
app.record.edit.change.(fieldcode)
-
Field Change Event
-
- Related APIs
Example
- To illustrate, if the user enters a value of
1000
into a field, and then proceeds to manually change the value to1,000
,1000
, or1000
, the field change event will not occur, as the value will be sanitized back to1000
.
Additional Information
- If whitespaces are entered before or after a value, they will be sanitized.
- This update is enabled by default. Administrators who do wish to disable it can uncheck the option via the Update Options settings on the Kintone Administration page.