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
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important