Get Record List Query

Get Record List Query - kintone.app.getQueryCondition()

Retrieves the record list filter conditions as a query string

Function

Desktop

kintone.app.getQueryCondition()

Mobile

kintone.mobile.app.getQueryCondition()

Parameters

None

Returns

  • String or null.
  • An empty string is returned if there are no filter conditions for the record list.
  • Null is returned for pages where it cannot be used.

Sample Request

1
2
3
4
5
var condition = kintone.app.getQueryCondition();
console.log(condition);

// returns
// 'record_id <= "5" and creator in ("john-d")'

Available Pages

  • Record List
  • Graph

Notes

  • An error occurs if the query string contains any of the following:
    • Deleted or non-existent Users/Departments/Groups
    • Deleted or non-existent options in the following fields (Desktop only):
      • Drop-down
      • Radio button
      • Multi-choice
      • Check box
    • Deleted or non-existent statuses (Desktop only)
  • To retrieve the limit, offset and order by values, use the following API instead:
    kintone.app.getQuery()