Ask about kintone.app.record.get()?

Why I use kintone.app.record.get(), it always return null? I dont know what’s wrong! 

Please help me!!!

Per your picture, since you are using kintone.app.record.get() on Record List page, you will get null.

 

Available Pages for kintone.app.record.get() (Desktop) are as below.

•Record Details

•Record Create

•Record Edit

•Record Print

 

▼ Get Record 

https://developer.kintone.io/hc/en-us/articles/213148957/#record_get

Hi Fellow Developers,

Based on kintone documentation, and as how Junko stated, kintone.app.record.get() is not available on Index page

However, if what do you want is to get all records (of current page), you can just utilize the event as it return the records (event.records)

Instead, if for example, you want to get all of the records of an app, this article may help:

https://developer.kintone.io/hc/en-us/articles/230613327-Get-all-records-from-an-App

Or if you want to play around with API to get records from an app, this article may help:

https://developer.kintone.io/hc/en-us/articles/213149287-Get-Record-GET-#getrecords

Hope this help

Afief