ユーザマニュアル





2023/07/05

MANUAL

開発者向け機能:サーバスクリプト:notifications.New

## 概要 通知のオブジェクトを生成します。生成したオブジェクトに通知設定を追加し、任意のタイミングで送信することができます。 ## 構文 ``` notifications.New() ``` ## 戻り値 notificationオブジェクトを返却します。 ## 使用例 以下の例では、xxxxx@example.com へタイトルが "通知テスト"、内容が "サーバスクリプトから通知しています" の通知を行います。 ##### JavaScript ``` let notification = notifications.New(); notification.Address = 'xxxxx@example.com'; notification.Title = '通知テスト'; notification.Body = 'サーバスクリプトから通知しています。'; notification.Send(); ``` ## 注意事項 こちらは「[サーバスクリプト](/manual/table-management-server-script)」で使用するメソッドです。「[スクリプト](/manual/table-management-script)」では使用できません。 ## 関連情報 ・[テーブルの管理:サーバスクリプト](/manual/table-management-server-script) ・[オブジェクトごとの実行タイミング](/manual/server-script-conditions) ・[notificationsオブジェクト](/manual/server-script-notifications) ・[notificationオブジェクト](/manual/server-script-notification) ・[notifications.Getメソッド]((/manual/server-script-notifications-get)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.