Get List of Views

Get List of Views - kintone.app.getViews()

Retrieves the list of views of the current App.
This API retrieves an array with details of all views configured in the App. The order of the array elements matches the view order displayed on the page.

Function

kintone.app.getViews()

Parameters

None

Returns

A Promise object.
The following values can be retrieved when the Promise object is fulfilled.
Each element in the array contains the following properties:

Property Type Description
type String The type of View.
  • LIST: List View
  • CALENDAR: Calendar View
  • CUSTOM: Custom View
builtinType String The type of the built-in View.
  • ASSIGNEE: Assigned to me View.
  • ALL: All records View.
Not returned for other Views.
id String The ID of the View.

Available Pages

Desktop

  • Record list

Mobile

  • Record list