JSON
Once a day Sitefinity CMS executes a task called ExternalNotificationsRetrieverTask, which reads from the JSON file (if available) and delivers any new notifications defined in this file. With this option, you have the flexibility of scheduling dynamic notifications - the system can deliver the notification on any specific date to different user groups, based on what you have defined inside the JSON file.
ExternalNotificationsRetrieverTask
IMPORTANT: For this feature to work properly, you must store the JSON file on the file system under SitefinityWebApp\Sitefinity\Notifications folder and name it notifications.json. In NLB setup, you must place this file on each node.
SitefinityWebApp\Sitefinity\Notifications
Following is an example how your notifications.json file can be structured for the purpose of pushing dynamic notifications:
Below is a description of the properties that you should set inside this file:
Id
notifications.json
StartDate
StartDateOffsetInDays
Notifications
Index
Message
Url
NotificationKey
Category
Group
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important