We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Schedule - export to ICS

Thread ID:

Created:

Updated:

Platform:

Replies:

129462 Mar 20,2017 11:56 AM UTC Mar 22,2017 06:28 AM UTC WPF 3
loading
Tags: SfSchedule
Dariusz Piech
Asked On March 20, 2017 01:51 PM UTC

Hello
I have a SfSchedule control on WPF app.
I'm adding a new appointment and make it recurring (every week, on thursday, no end date).
Next call method Export(filename.ics).

Exported file contains:
BEGIN:VCALENDARPRODID:-//Microsoft Corporation//Outlook 15.0 MIMEDIR//EN
VERSION:2.0
METHOD:PUBLISH
X-WR-CALNAME:Schedule Appointments
BEGIN:VEVENT
DESCRIPTION:
SUMMARY:some appointment
DTEND;VALUE=DATE:20170302
DTSTART;VALUE=DATE:20170302
RRULE:FREQ=WEEKLY;COUNT=3;BYDAY=TH,
UID:25339754
END:VEVENT
END:VCALENDAR 

So after using method Import(filename.ics) - i have only 3 appointments (but 2 on each day).

Is this normal behaviour of Schedule control?

Greetings

Darek Piech


Attachment: screen_9e568ae6.zip

Subburaj Pandian Veluchamy [Syncfusion]
Replied On March 21, 2017 09:00 AM UTC

Hi Dariusz, 
  
Thank you for interest Syncfusion products. 
  
We have analyzed the Importing schedule appointments behavior with provided information. As per the implementation of SfSchedule, Schedule AppointmentCollection gets added while importing the saved ics file which is an expected behavior. If your requirement to display the only the imported appointments, you can clear the existing appointments added in schedule before the import the saved .ics file. 
  
Please refer the below code example for clearing the Appointments, 
  
  
private void Button_Click(object sender, RoutedEventArgs e) 
        { 
            schedule.Appointments.Clear(); 
            schedule.ImportICS(); 
        } 
  
  
We have prepared simple sample based on this scenario, please find the below sample. 
  
Sample link: Recurrence_Sample_WPF 
 
If the given solution doesn’t meet your requirement, could you please revert to us by modifying the provided sample based on your requirement with the replication procedure to reproduce the issue, it will be helpful for us to check on it and provide you the better solution.  
  
Regards,  
Subburaj Pandian V.    
 


Dariusz Piech
Replied On March 21, 2017 11:30 AM UTC

Hello
Thanks for your reply. I've tested that sample and it doesn't work as i expect.
This is what i'm doing (there are screens in attachment) 
1. I open application and make new appointment
2. Set recurrence for every Friday, weekly with no end date.
3. Schedule shows new appointment properly.
4. I click export and save ics file.
5. Close app and start it again.
6. Click import and load previously saved ics
7. Schedule shows only 3 appointments (because in ics file is saved as RRULE:FREQ=WEEKLY;COUNT=3;BYDAY=FR,)

I need to save appoinments with no end date - could you help me?

Best Regards
Darek


Attachment: steps_1a4b3f58.zip

Subburaj Pandian Veluchamy [Syncfusion]
Replied On March 22, 2017 06:28 AM UTC

Hi Dariusz, 
  
Thank you for the update. 
 
We have created a new support incident under your account to track the status of this issue. Please log on to our support website to check for further updates. 
 
 
Please let us know, if you have any query.

 
Regards,  
Subburaj Pandian V.    


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;