Get Space Element

Get Space Element - kintone.app.record.getSpaceElement()

Retrieves the element of a Blank space field that you have placed inside your record form.

Function

Desktop

kintone.app.record.getSpaceElement(spaceId)

Mobile

kintone.mobile.app.record.getSpaceElement(spaceId)

Parameters

PARAMETER VALUE REQUIRED DESCRIPTION
spaceId String Yes The element ID of the Blank space field. When you place a Blank space field inside your app form, you can assign an element ID through the field's option.

Response

  • The element of the specified Space field.
  • Null is returned if the specified Space field does not exist.
  • Null is returned for pages where it cannot be used.

Sample

1
var el = kintone.app.record.getSpaceElement('space1');

Available Pages (Desktop)

  • Record Details
  • Record Create
  • Record Edit
  • Record Print

Available Pages (Mobile)

  • Record Details
  • Record Create
  • Record Edit