Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

UNNotification.AddImage

Adds an attachment to the notification.

Component Version macOS Windows Linux Server iOS SDK
UNNotification 10.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "UNNotification.AddImage"; UNNotificationRef; Image )   More

Parameters

Parameter Description Example
UNNotificationRef The reference number of the notification. $Notification
Image The container value with the image data. MyTable::MyImage

Result

Returns OK or error.

Description

Adds an attachment to the notification.
If you have a picture file on disk, please use UNNotification.AddFile function instead.
Writes a temp picture file to the temporary folder.

Examples

Add an image:

Set Variable [ $result ; Value: MBS("UNNotification.AddImage"; $UserNotification; $MyImage) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 11st August 2020, last changed 20th August 2020


UNNotification.AddFile - UNNotification.AddUserInfo