Get Record List Field Elements

Get Record List Field Elements - kintone.app.getFieldElements()

Retrieves the field elements of fields in the record list as an array, by specifying a field code.

Function

Desktop

kintone.app.getFieldElements(fieldCode)

Mobile

kintone.mobile.app.getFieldElements(fieldCode)

Parameters

PARAMETER VALUE REQUIRED DESCRIPTION
fieldCode String Yes Specify the field code of the field you want to retrieve.

Response

  • An array of field elements, or null.
  • Null is returned for pages where it cannot be used.
  • An empty array will be returned if there are no records.
  • Null is returned if the specified field is not in the record list.

Sample

1
kintone.app.getFieldElements('record_id');

Available Pages

  • Record list

Notes

  • The retrieval of data and the DOM's style is supported.
  • Changing the internal structure of the DOM may lead to features not functioning correctly after a Kintone update.
  • The following fields cannot be retrieved, and null will be returned.
    • Tables
    • Fields within tables
  • If this API is used during an inline editing of the record list, the returned array will include an element containing the editing UI.