Get App ID

Get App ID - kintone.app.getId()

Retrieves the App ID of the app the user is currently viewing.

Function

Desktop

kintone.app.getId()

Mobile

kintone.mobile.app.getId()

Parameters

None

Response

An integer or null. Null is returned if the value cannot be retrieved.

Sample

1
2
var appId = kintone.app.getId(); // It's getId, and not getID
console.log(appId);

Limitations

This API cannot be used for/from apps attached to bodies of Spaces/Threads/Announcements.

The API is only available on the following pages

Desktop

  • Record List
  • Record Details
  • Record Edit
  • Record Create
  • Record Print
  • Graph
  • File Export
  • File Import
  • Plug-in Settings

Mobile

  • Record List
  • Record Details
  • Record Edit
  • Record Create
  • Graph