Get Record ID

Get Record ID - kintone.app.record.getId()

Retrieves the Record ID of the currently open record.

Function

Desktop

kintone.app.record.getId()

Mobile

kintone.mobile.app.record.getId()

Parameters

none

Returns

  • Number or null
  • Null is returned for pages where it cannot be used.

Sample

1
2
var recordId = kintone.app.record.getId();
console.log(recordId);

Available Pages (Desktop)

  • Record Details
  • Record Edit
  • Record Print

Available Pages (Mobile)

  • Record Details
  • Record Edit