I have a Scheduler bind to a datasource that is linked to a SQL-server.
When I have a schedule with a reminder, I want to save the response to the reminder (Snooze or Dismiss). When I now Snooze or Dismiss and I close my website and restart the Snooze or Dismiss are gone.
I have set the DataReminderField to my field in the database, I use AppointUpdate and appointsInsert events. This all works fine.
How can I save the Snooze selection and the Dismiss to the Reminder field in the database?
When I have a schedule with a reminder, I want to save the response to the reminder (Snooze or Dismiss). When I now Snooze or Dismiss and I close my website and restart the Snooze or Dismiss are gone.
I have set the DataReminderField to my field in the database, I use AppointUpdate and appointsInsert events. This all works fine.
How can I save the Snooze selection and the Dismiss to the Reminder field in the database?
8 Answers, 1 is accepted
0
Hello,
There are two server-side events ReminderSnooze and ReminderDismiss that are fired when user snoozes or dismisses the appointment reminder. In the ReminderDismiss event handler you can clear the reminder field in the data base.
In ReminderSnooze you can simply modify the reminder string stored in the data base for the current appointment. Here you can find more information about the format used for setting reminder.
Regards,
Boyan Dimitrov
Telerik
There are two server-side events ReminderSnooze and ReminderDismiss that are fired when user snoozes or dismisses the appointment reminder. In the ReminderDismiss event handler you can clear the reminder field in the data base.
In ReminderSnooze you can simply modify the reminder string stored in the data base for the current appointment. Here you can find more information about the format used for setting reminder.
Regards,
Boyan Dimitrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Suzy
Top achievements
Rank 2
answered on 27 Nov 2014, 10:35 AM
I'm sorry but I can't find how to 'simply modify the reminder string'. I have the snoozeminutes (e.SnoozeMinutes) in the ReminderSnooze but how to modify the reminder string? I can't find the documentation on how to do that.
0

Suzy
Top achievements
Rank 2
answered on 27 Nov 2014, 10:40 AM
And what about recurring appointments that have a reminder? In that case the AppointmentID is not the actual appointmentId but added a '_' and a number.
How to only dismiss or snooze the reminder of the current appointment and not the entire recurring appointment?
How to only dismiss or snooze the reminder of the current appointment and not the entire recurring appointment?
0
Hello,
In order to avoid any further confusions I would like to clarify that when a user is snoozing the reminder it creates a cookie and stores the reminder snooze information for that specific appointment in this cookie. In this case it automatically saves, modify the reminder snooze information as soon as user selects the minutes from the drop down list and clicks on the snooze button.
Same thing applies for the occurring appointments. It creates a cookie and saves the information for that specific appointment.
Regards,
Boyan Dimitrov
Telerik
In order to avoid any further confusions I would like to clarify that when a user is snoozing the reminder it creates a cookie and stores the reminder snooze information for that specific appointment in this cookie. In this case it automatically saves, modify the reminder snooze information as soon as user selects the minutes from the drop down list and clicks on the snooze button.
Same thing applies for the occurring appointments. It creates a cookie and saves the information for that specific appointment.
Regards,
Boyan Dimitrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Suzy
Top achievements
Rank 2
answered on 02 Dec 2014, 09:40 AM
Hi Boyan,
I know that but I'm working with a database file to store the appointments. And when you snooze or dismuss I have to update the database. I have several problems with doing that :
- how to I change the reminder string when the user presses snooze. Can't found any info on how to adjust the string
- when a recurring job is snoozed or dismissed, how can I only snooze of dismiss that appointment and not the entire recurring job. The Id in this case has a "_" and a number added.
Kind regards
I know that but I'm working with a database file to store the appointments. And when you snooze or dismuss I have to update the database. I have several problems with doing that :
- how to I change the reminder string when the user presses snooze. Can't found any info on how to adjust the string
- when a recurring job is snoozed or dismissed, how can I only snooze of dismiss that appointment and not the entire recurring job. The Id in this case has a "_" and a number added.
Kind regards
0
Hello,
The only way to modify the reminder field in the data base is to execute a updated sql query from the code behind ( AppointmentSnooze server-side event handler) and modify the value. Please refer to this forum discussion for executing update sql query from the code behind.
As I mentioned it is automatically snoozed and stored the information in the session. There is no data changed in the data base in this case.
Regards,
Boyan Dimitrov
Telerik
The only way to modify the reminder field in the data base is to execute a updated sql query from the code behind ( AppointmentSnooze server-side event handler) and modify the value. Please refer to this forum discussion for executing update sql query from the code behind.
As I mentioned it is automatically snoozed and stored the information in the session. There is no data changed in the data base in this case.
Regards,
Boyan Dimitrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Suzy
Top achievements
Rank 2
answered on 05 Dec 2014, 10:20 AM
Hi Boyan,
I think you miss understand my question. I know how to change and link the data to the database, that is not the issue. the issue is that I want to save the Snooze to the database
I know I can do this by changing the DataReminderField. My problem is that I don't now what the value must be.
The value is for example :
BEGIN:VALARMTRIGGER:-PT30MX-TELERIK-UID:d1f02b03-82f2-4267-b24e-89baeb9170e3END:VALARM
When you press snooze to 5 minutes before start, what is the data string I need to save to the database to change the DataReminderField?
Kind regards
I think you miss understand my question. I know how to change and link the data to the database, that is not the issue. the issue is that I want to save the Snooze to the database
I know I can do this by changing the DataReminderField. My problem is that I don't now what the value must be.
The value is for example :
BEGIN:VALARMTRIGGER:-PT30MX-TELERIK-UID:d1f02b03-82f2-4267-b24e-89baeb9170e3END:VALARM
When you press snooze to 5 minutes before start, what is the data string I need to save to the database to change the DataReminderField?
Kind regards
0
Hello,
TRIGGER:-PT30MX shows that the reminder will be shown 30minuts before the appointment start. In order to change it to 5 min you have to modify the value as shown below:
BEGIN:VALARMTRIGGER:-PT5MX-TELERIK-UID:d1f02b03-82f2-4267-b24e-89baeb9170e3END:VALARM
Regards,
Boyan Dimitrov
Telerik
TRIGGER:-PT30MX shows that the reminder will be shown 30minuts before the appointment start. In order to change it to 5 min you have to modify the value as shown below:
BEGIN:VALARMTRIGGER:-PT5MX-TELERIK-UID:d1f02b03-82f2-4267-b24e-89baeb9170e3END:VALARM
Regards,
Boyan Dimitrov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.