Get App Icon URLs

Get App Icon URLs - kintone.app.getIcons()

Retrieves the URL of the App icon.

Function

kintone.app.getIcons()

Parameters

PARAMETER VALUE REQUIRED DESCRIPTION
apps Array Yes List of App IDs.
Up to 100 App IDs can be specified.

Returns

Promise object.
When the Promise object is fulfilled, an array of objects containing the following elements can be retrieved:

PROPERTY VALUE DESCRIPTION
app Integer The App ID
url String The URL of the App icon.
The URL format may change in future Kintone updates.
Do not save the URL, but retrieve it from the API when displaying the image.

Available Pages

Sample

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
(async () => {
  const icons = await kintone.app.getIcons([1, 2]);
  console.log(icons);
  // [
  //   {
  //     app: 1,
  //     url: "App icon URL for App with App ID 1"
  //   },
  //   {
  //     app: 2,
  //     url: "App icon URL for App with App ID 2"
  //   }
  // ]
  const img = document.createElement('img');
  img.src = icons[0].url;
})();

Limitations

The intellectual property rights for icons provided in Kintone belong to Cybozu and/or the suppliers, as specified in Article 23 of the Kintone Terms of Use.
This API should only be used to display icons to represent Apps within the same environment in Kintone customizations and plug-ins.