API Updates for December 2019

API Updates

The next Kintone update is 6th December 2019. The release also includes the following updates.

A number of spec changes will be introduced, due to a Kintone Product feature update related to being able to select Multi-choice and Check box fields in the Lookup field's Field Mapping settings.

Kintone JavaScript API

Spec changes

With the addition of being able to select Multi-choice and Check box fields in the Lookup field Field Mapping settings, the following specs will be changed:

Bug fixes

  • A bug exists where when using the following field change events on desktop under the following conditions, the browser console shows an error and the program fails. This bug will be fixed.
    • Relevant APIs:
    • Details:
      • When using Kintone on the desktop and the field change event is fired in an App with all of the following conditions:
        1. The Field Change event is set to a field that is also set as a field mapped from a Lookup field.
        2. Table rows are deleted (or the field values in the Table row are all cleared) when the event is triggered.
      • Before the fix:
        • An error message is displayed in the browser console and any fields mapped in the Lookup field settings that exist below the Table with rows being deleted, do not have their values copied and inputted.
      • After the fix:
        • No errors occur and values are copied and inputted as expected.
  • A bug exists where when a record is created by an action button (External link) on mobile, the Show or Hide a Field API and Open Field Group API do not run. This bug will be fixed.

Kintone REST API

Spec changes

With the addition of being able to select Multi-choice and Check box fields in the Lookup field Field Mapping settings, the following specs will be changed:

  • When adding or updating a Lookup field value, it will be possible to automatically retrieve or clear values of Multi-choice fields and Check box fields set in the Field Mapping settings of the Lookup field.
    • Relevant APIs:
    • Details:
      • When adding or updating a Lookup field value with the above APIs, the values of any Multi-choice fields and/or Check box fields set in the Field Mapping settings of the Lookup field will be automatically retrieved or cleared.
  • The field settings of any Multi-choice fields and/or Check box fields included in the Field Mapping settings of a Lookup field will be included in the Lookup field properties of the following form settings APIs.
    • Relevant APIs:
    • Details:
      • Using the Get Form Fields API , it will be possible to retrieve the field settings of any Multi-choice and/or Check box fields from the applicable Lookup field's Field Mapping settings array*.
      • Using the Add Form Fields API or the Update Form Fields API , it will be possible to retrieve the field settings of any Multi-choice and/or Check box fields from the applicable Lookup field's Field Mapping settings array*.
        *properties.<field code>.lookup.fieldMappings
  • The in operator will be available to use when filtering records by Text and Link field values.
  • It will be possible to get, add, or update records in multiple Apps by setting multiple API tokens in the request header.
    • Relevant APIs:
    • Details:
      • It will be possible to get, add, or update records in multiple Apps by setting multiple API tokens in the request header. For example, Lookup field values can be retrieved, added, and updated, and the records that are filtered for in a Related Records field can be retrieved with API token authentication.

Bug fixes

  • A bug exists where when the following APIs are used to update a record containing a table, even if fields inside of the table are not updated, the update history shows information related to the table. This bug will be fixed.
    • Related APIs:
    • Details:
      • When all of the following conditions are present:
        1. A record that contains a table is being updated, but the fields within the Table are not being updated.
        2. The row ids of the table are not specified in the object containing the record information in the request parameter.
      • Before the fix:
        • Information related to the Table (specifically, that all the rows in the table were deleted and then added) is included in the update history.
      • After the fix:
        • The update history includes only information of the fields actually changed.