I’m trying to load recurring events from xml using load method, but loaded events are duplicated.
How should the xml formatted for the recurring meeting with exceptions?
Following is the xml:
<event id="3315">
<text><![CDATA[ test ]]></text>
<rec_type><![CDATA[ week_1___1,2,3,4,5#3 ]]></rec_type>
<event_length><![CDATA[ 900 ]]></event_length>
<start_date><![CDATA[ 2013-01-07 09:40:00 ]]></start_date>
<end_date><![CDATA[ 2013-01-10 00:00:00 ]]></end_date>
<event_pid><![CDATA[ 0 ]]></event_pid>
</event>
<event id="3316">
<text><![CDATA[ test ]]></text>
<rec_type><![CDATA[ ]]></rec_type>
<event_length><![CDATA[ 1357560000 ]]></event_length>
<start_date><![CDATA[ 2013-01-07 09:40:00 ]]></start_date>
<end_date><![CDATA[ 2013-01-07 09:55:00 ]]></end_date>
<event_pid><![CDATA[ 3315 ]]></event_pid>
</event>
<event id="3317">
<text><![CDATA[ test ]]></text>
<rec_type><![CDATA[ ]]></rec_type>
<event_length><![CDATA[ 1357646400 ]]></event_length>
<start_date><![CDATA[ 2013-01-08 09:40:00 ]]></start_date>
<end_date><![CDATA[ 2013-01-08 09:55:00 ]]></end_date>
<event_pid><![CDATA[ 3315 ]]></event_pid>
</event>
<event id="3318">
<text><![CDATA[ test ]]></text>
<rec_type><![CDATA[ ]]></rec_type>
<event_length><![CDATA[ 1357732800 ]]></event_length>
<start_date><![CDATA[ 2013-01-09 09:40:00 ]]></start_date>
<end_date><![CDATA[ 2013-01-09 09:55:00 ]]></end_date>
<event_pid><![CDATA[ 3315 ]]></event_pid>
</event>
It is a recurring appointment with 3 occurrences and they are all exceptions (although the start datetime and duration of the meeting is the same as original recurring meeting).
Any help would be appreciated.
thank you.