| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WindowsUserNotification.SetTag
Sets the unique identifier of this notification within the notification Group.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| WindowsUserNotification | 13.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "WindowsUserNotification.SetTag"; Notification; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Notification | The reference number for the Windows User Notification. | $Notification |
| Value | The new tag value. | 123456 |
Result
Returns OK or error.
Description
Sets the unique identifier of this notification within the notification Group.This API returns an error if the property is set to null or the empty string.
The tag can be maximum 16 characters long. However, the Creators Update (15063) extends this limit to 64 characters.
e.g. could be the record ID for the notification in your database.
Examples
Fill tag with name of table and record ID, so we can find it later:
Set Variable [$r; Value: MBS( "WindowsUserNotification.SetTag"; $Notification; "Person¶" & Get(RecordID) )]
See also
- WindowsUserNotification.GetTag
- WindowsUserNotification.GetText
- WindowsUserNotification.Release
- WindowsUserNotification.SetGroup
- WindowsUserNotification.SetImagePath
- WindowsUserNotification.SetPriority
- WindowsUserNotification.SetRemoteId
- WindowsUserNotification.SetText
- WindowsUserNotification.Setting
- WindowsUserNotification.XMLUsed
Release notes
- Version 13.1
- Added WindowsUserNotification.SetTag and WindowsUserNotification.GetTag functions.
Blog Entries
This function is free to use.
Created 21st January 2023, last changed 25th February 2026
WindowsUserNotification.SetSuppressPopup - WindowsUserNotification.SetText