Martin Stevnhoved Posted July 14, 2016 Share Posted July 14, 2016 Hi MMSOFT. Is it somehow possible to generate more individual notifications from the same plugin, without using allowMultipleNotifications. It is not hard to imagine that a plugin would have to monitor two or more individual values. If it is not possible, consider this a feature request :-) Best Regards, Martin. Link to comment Share on other sites More sharing options...
Administrators Paul Posted July 14, 2016 Administrators Share Posted July 14, 2016 Hi Martin, This isn't supported yet but it's a great idea! We will consider it for the future. -Paul Link to comment Share on other sites More sharing options...
Dilbert Posted July 22, 2016 Share Posted July 22, 2016 Hi, perhaps you should introduce something like a "Notification ID" to detect wether the notification has been shown before or not. Dilbert Link to comment Share on other sites More sharing options...
Martin Stevnhoved Posted November 11, 2016 Author Share Posted November 11, 2016 This is indeed the limitation I most run into when developing plugins. Link to comment Share on other sites More sharing options...
Administrators Paul Posted November 11, 2016 Administrators Share Posted November 11, 2016 Hi Martin, We will be adding an optional string argument which allows you to specify a unique ID to the notification. -Paul Link to comment Share on other sites More sharing options...
Martin Stevnhoved Posted November 26, 2016 Author Share Posted November 26, 2016 Hi Paul, Do you have some timeframe for this new addition? Just to know if I should wait with my plugin ideas, or revrite them late. Link to comment Share on other sites More sharing options...
Martin Stevnhoved Posted August 17, 2017 Author Share Posted August 17, 2017 <ping> Link to comment Share on other sites More sharing options...
Administrators Paul Posted September 26, 2017 Administrators Share Posted September 26, 2017 Hi Martin, This got released in yesterday's Windows Agent 5.3 release. Documentation is yet to be updated but you should find a new overload for the SendNotificationToAllDevices method with the new PCMonitorClient.dll. -Paul Link to comment Share on other sites More sharing options...
Martin Stevnhoved Posted November 29, 2018 Author Share Posted November 29, 2018 (edited) Hi Paul. Can you help me to find the documentation for different notifications? Quote https://www.pulseway.com/en/api/clientnet?tutorialSubItem=interfacevoid SendNotificationToAllDevices(string message, NotificationPriority priority, bool allowMultipleNotifications = false)"After one notification is sent you can send another one only after the first one is deleted using a client application, unless allowMultipleNotifications is true." I need the default option (without allowMultipleNotifications) to work with different notifications. I guess it should be possible to add som kind of notification_id. Edited November 30, 2018 by Martin Stevnhoved Link to comment Share on other sites More sharing options...
Martin Stevnhoved Posted November 30, 2018 Author Share Posted November 30, 2018 Hi Paul. I found it myself: void SendNotificationToAllDevices(string message, NotificationPriority priority, bool allowMultipleNotifications, string notificationIdentifier) Are there any more hidden gems, not mentioned in the docs? Paul 1 Link to comment Share on other sites More sharing options...
Martin Stevnhoved Posted December 4, 2018 Author Share Posted December 4, 2018 Hi again @Paul. How does CanSendNotifications work together with notificationIdentifier? Link to comment Share on other sites More sharing options...
Administrators Paul Posted December 15, 2018 Administrators Share Posted December 15, 2018 There is an overload that includes the notificationIdentifier. If the notificationIdentifier it's passed it will tell you if you can send another notification with that non-repeating notification identifier: -Paul Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now