0
0

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 1 year has passed since last update.

kintone レコード新規追加・再利用・アプリアクションの判別方法

0
Posted at

kintone レコード新規追加・再利用・アプリアクションの判別方法についてまとめ。

レコード新規追加と再利用の判別

レコード追加画面を表示した後のイベント
https://cybozu.dev/ja/id/6a31504b599c450eb14a4a00/

イベントプロパティの中の reuse の値で判別する。

resuse === true のときは、レコード再利用。
resuse === false のときは、レコード新規追加。

アプリアクション実行時のレコード追加の判別

URIパラメーター内のクエリにて判別する。

https://<サブドメイン>.cybozu.com/k/<アプリID>/edit?action=<アプリアクションID>&app=<アプリアクション実行元のアプリID>&record=<アプリアクション実行元のレコードID>

action=とあったらアプリアクションからのレコード新規追加と判別できる。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?