WindowsUserNotification.SetGroup
--------------------------------

Sets the group identifier for the notification.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WindowsUserNotification](component_WindowsUserNotification.md) | [13.1](newinversion131.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WindowsUserNotification.SetGroup"; Notification; Value ) 

**MBS**( **"WindowsUserNotification.SetGroup";** /\* Sets the group identifier for the notification. \*/  
**$Notification**; /\* The reference number for the Windows User Notification. \*/   
**$Value**) /\* The new group text. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Notification | The reference number for the Windows User Notification. | $Notification |
| Value | The new group text. |  |

### Result

Returns OK or error.

### Description

Sets the group identifier for the notification.  
In previous versions of Windows, the group property can be a maximum length of 16 characters long. However, in the Creators Update (15063), the maximum limit was increased to 64 characters.  
### Examples

Set group identifier for notification:

 Set Variable \[ $r ; Value: MBS ( "WindowsUserNotification.SetGroup"; $Notification ; "Group1" ) \]  
### See also

- [WindowsUserNotification.GetGroup](WindowsUserNotificationGetGroup.md)
- [WindowsUserNotification.GetText](WindowsUserNotificationGetText.md)
- [WindowsUserNotification.SetPriority](WindowsUserNotificationSetPriority.md)
- [WindowsUserNotification.SetRemoteId](WindowsUserNotificationSetRemoteId.md)
- [WindowsUserNotification.SetScriptName](WindowsUserNotificationSetScriptName.md)
- [WindowsUserNotification.SetSuppressPopup](WindowsUserNotificationSetSuppressPopup.md)
- [WindowsUserNotification.SetTag](WindowsUserNotificationSetTag.md)
- [WindowsUserNotification.SetText](WindowsUserNotificationSetText.md)
- [WindowsUserNotification.Setting](WindowsUserNotificationSetting.md)
- [WindowsUserNotification.XMLUsed](WindowsUserNotificationXMLUsed.md)

### Release notes

- **Version 13.1**
    - Added [WindowsUserNotification.SetGroup](https://www.mbsplugins.eu/WindowsUserNotificationSetGroup.shtml) and [WindowsUserNotification.GetGroup](https://www.mbsplugins.eu/WindowsUserNotificationGetGroup.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 21st January 2023 , last changed 20th May 2025

  
[WindowsUserNotification.SetFileName](WindowsUserNotificationSetFileName.md) - [WindowsUserNotification.SetImagePath](WindowsUserNotificationSetImagePath.md)

[HTML Version](WindowsUserNotificationSetGroup.shtml)