1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Kintoneでレコード編集画面を開いた時にルックアップ項目を自動取得する

Last updated at Posted at 2020-06-15

レコード編集画面を開いたときに全てのルックアップ項目を更新します。
JSファイルを作って以下をコピーして読み込ませる。

allLookupUpdate.js
(function() {
  'use strict';
  kintone.events.on('app.record.edit.show', function(event) {
    var record = event.record;
    for (var key in record) {
      if ("SINGLE_LINE_TEXT" === record[key]["type"]) {
        record[key].lookup = true;
      }
    }
    return event;
  });
})();

以上

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?