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

WindowsUserNotification.SetImagePath

Sets image path for the image to show.

Component Version macOS Windows Linux Server iOS SDK
WindowsUserNotification UserNotification 7.2 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WindowsUserNotification.SetImagePath"; Notification; Path )   More

Parameters

Parameter Description Example
Notification The reference number for the Windows User Notification. $Notification
Path Native file path for the image. "C:\MyApp\test.png"

Result

Returns OK or error.

Description

Sets image path for the image to show.
May not be a network path as system needs to load it independent of your permissions.
Maybe better use image coming with application or put one in temp folder.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.

See also

Example Databases

This function is free to use.

Created 2nd April 2017, last changed 17th August 2017


WindowsUserNotification.SetGroup - WindowsUserNotification.SetNotificationMirroring