Hi ,
I am creating an Recurring Event say daily from 17-Sep-2010 to 17-Oct-2010,
but i want to delete only one select day event from my Recurring event say( 20-Sep-2010).
with out disturbing the reaming recurring event .
To achieve my requirement how to save events in DB ,
I want to just delete one occurence of recurring event instead of entire series ?
I am saving one record for event and one record for recurring event , so when i delete one occurence also i am losing all occurences too. because i am calling my delete service on EventId .
can u share ur thoughts , how to achieve this
how to achieve this
To have such data set you need to have two records in DB
a) recurring event
b) exception record
- event_pid points to a
- rec_type=none
- event_length = timestamp(a)/1000
Thanks for ur reply,
Suppose i deleted one occurence of event , then
How to save in my Database such that i didn’t show that rec event in view .
If you have added deletion-exception ( event b in above text ) - when scheduler will be loaded - the instance of recurring event which was deleted will not be rendered anymore.
You can trigger the same action by using the next api call on client side
scheduler.deleteEvent({id}#{timestamp})
id - id of recurring event
timestamp - date of occurrence which need to be deleted
I am getting id and time period , thats fine.
But how can i maintain this in my dB .
am i need to parse rec type and insert all events in my DB? and delete respective timeperiod event?
Thanks and understand ur ideas