Skip to main content

Remove Notification (script step reference)

By March 1, 2025March 20th, 2025Online Help, Troi Dialog Plug-in
Troi Dialog Plug-in for FileMaker Pro

Remove Notification

Removes a (delivered) notification.

SyntaxScript step badge

Remove Notification [ NotificationID ; Switches ]

Options

NotificationID the id for the notification that you want to remove
Switches not used, reserved for future use. Leave blank or put "-Unused"

Returned Result

Data type returned

Error code

Result

If successful it returns 0. If unsuccessful it returns an error code starting with $$ and the error code. Returned error codes can be:

$$-4221 invalidOSVersion notifications are not supported on this OS version
$$-4291 notificationsNotEnabled notifications are not enabled in the preferences

Originated in

Troi Dialog Plug-in 7.5

Compatibility

FileMaker Pro 17 to FileMaker Pro 21 (2024)

Considerations

When you leave the notificationID parameter empty all delivered notifications will be removed.

Example

Remove Notification [ $ErrorCode ; "note123" ]

This will remove the notification with notificationID “note123”.

Example 2

Remove Notification [ $ErrorCode ; "" ]

When you leave the NotificationID parameter empty all delivered notifications will be removed.

Used in example file

Notifications.fmp12

Related script stepScript step badge

Schedule Notification

Related functionFunction badge

Dial_RemoveNotification

Related topics

Troi Dialog Plug-in online help (overview)


Online Help Page for Troi Dialog Plug-in for 17 to 2024 –> Remove Notification (dialp7321) 2025-0320 16:40:11

troi.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping us to understand which sections of the website you find most interesting and useful.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.