Training
Module
Send notifications in Dynamics 365 Business Central - Training
Discover how to create, send, and enhance user interactions through notifications in this comprehensive guide in Dynamics 365 Business Central.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If you have a scenario in which you want to send a notification at some point in the future, but do not have an easy way to wake up your back-end code to send the notification. Standard tier notification hubs support a feature that enables you to schedule notifications up to seven days in the future.
When sending a notification, simply use the ScheduledNotification
class in the Notification Hubs SDK as shown in the following example:
Notification notification = new AppleNotification("{\"aps\":{\"alert\":\"Happy birthday!\"}}");
var scheduled = await hub.ScheduleNotificationAsync(notification, new DateTime(2014, 7, 19, 0, 0, 0));
Also, you can cancel a previously scheduled notification using its notificationId:
await hub.CancelNotificationAsync(scheduled.ScheduledNotificationId);
There are no limits on the number of scheduled notifications you can send.
See the following tutorials:
Training
Module
Send notifications in Dynamics 365 Business Central - Training
Discover how to create, send, and enhance user interactions through notifications in this comprehensive guide in Dynamics 365 Business Central.
Documentation
Send browser (web push) notifications with Azure Notification Hubs
Learn about support for browser push notifications in Azure Notification Hubs.
Azure Notification Hubs Secure Push for Windows
Learn how to send secure push notifications in Azure. Code samples written in C# using the .NET API.
Azure Notification Hubs Frequently Asked Questions (FAQs)
FAQs about designing and implementing solutions on Azure Notification Hubs.