Get Design

Get Designkintone.getUiVersion

Retrieves the current kintone UI Design version that the user is currently viewing.
By default, the user settings of the kintone UI Design should be set to the New UI Design.
Only the Administrator can change the UI Design version of the kintone users through the kintone Administration settings.
This API can be used on both Desktops and Smartphones, and be used on any page.

Function

kintone.getUiVersion

Parameters

None

Response

Type Response and Description
Integer 1: Classic UI Design
2: New UI Design

Sample

var uiVer = kintone.getUiVersion();
console.log(uiVer);
// For users using the New UI Design, the output is: 2

Limitations

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

Was this article helpful?
0 out of 0 found this helpful
Comments
Please sign in to leave a comment.