User Manual

08.14.2024

MANUAL

Developer Function: Server Script: notifications.Get

## Overview You can get notification information set for the target table. ## Syntax ``` notifications.Get(id) ``` ## Parameters |Parameter|Type|Required|Description| |:----------|:----------|:---:|:---------------------------| |id|int|○|Specify the notification ID| ## Return Value If the notification settings are retrieved, true is returned; if not, false is returned. ## Usage Example The following example gets the setting with notification ID 2 and outputs the ID and address to the log. ##### JavaScript ``` let notification = notifications.Get(2); context.Log(`${notification.Id},${notification.Address}`); ``` ## Notes This is a method used in "[Server Script](/en/manual/table-management-server-script)". It cannot be used in "[Script](/en/manual/table-management-script)". ## Related Information ・[Table Management: Server Script](/manual/table-management-server-script) ・[Execution Timing for Each Object](/manual/server-script-conditions) ・[Notifications Object](/manual/server-script-notifications) ・[Notification Object](/manual/server-script-notification) ・[Notifications.New Method](/manual/server-script-notifications-new)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.