Log users who have viewed a record

This sample code logs users who have viewed the record. The name of the user who viewed the record is automatically placed in the User selection field.

Sample Image

viewlog.gif

Sample Code

Notes

Make sure to match the Field code of your fields, with the Field code written in the code.

Refer to the Tutorial page, on how to add scripts to your app.

 

Caution:

  1. If large number of simultaneous requests are made (i.e. a large number of people access the record at the same time), this may result in increasing the load on the Kintone server. To avoid this, check the concurrency limit in the response header to investigate the number of simultaneous API requests.
  2. Records may not be updated due to simultaneous editing and/or viewing of this record.
  3. Large amounts of user information in the User Selection field may result in delays in screen loading.

 

Was this article helpful?
0 out of 0 found this helpful
Do you have any questions or issues related to this article?
Please share your views with us in the Community forums!