Export PDF/Export ICal Issue

Hi,

Export PDF Issue : In month view, if day is having many events(For Example: Day is having more than 15 events), then day section of month view height is increasing automatically to accommodate all events information. But while exporting into PDF, all events are not exported properly.

In Case of Export to ICal, I am able to export events to Ical successfully but When I open .ics file and view the events, the event information(title and time) is not displaying.

Please let me know how should we solve this.

Regards,
Kamal

Export PDF Issue:
if events does not fit into month cell, they will be printed on the next page, this is expected behavior.

As for export to iCal, we will check this issue, and let you know, when we find out something

Hi Aliaksandr,

Thank for information.

I am further look into the Export to ICal Issue. Since I am using “Title” as event text. will it impact on export functionality. In this regard, I tried to customize the data attributes by using the following statement

scheduler.data_attributes = function () {
return [[“id”], [“Title”], [“date_start”], [“date_end”] ]; };

But no luck. Please let me know do you have solution on this.

How about Importing Ical Event to my calendar. Could you please share me help link to implement the same.

Regards,
Kamal

Hello,

looks like export to ical expects “text” instead of “Title”, you’ll have to rename the property, or modify few js methods of scheduler

scheduler can load events from ical, you just need to specify format scheduler.Data.Loader.ExpectedDataFormat = SchedulerDataLoader.DataFormats.iCal;

Hi Aliaksandr,

Thanks for your reply.

I will follow suggestions and update you the status.

Regards,
Kamal :slight_smile:

Hi Aliaksandr,

I have started working on Import functionality. I followed your suggestion but no luck. It would be great if you share any sample to achieve this import functionality.

Thanks in advance for your support.

Regards,
Kamal

Hello Kamal,
try the attached sample.
Note that in current version import from ical is available only on the client.
I.e. you can return ical string from data request, and calendar will parse it.
But api which will allow you to generate such string( or parse it ) on the server hasn’t been released yet
ICalLoader.zip (373 KB)

Hi Aliaksandr,

Thank you very much for sharing a sample.

Actually, my requirement is, I would like allow the user to select the Ical file(file to be imported) and import the data from Ical file to my calendar event table(database). I have gone thorough the below URL which might do the same as expected but i have not found the same in .Net scheduler.

dhtmlx.com/blog/?p=612

Please review and let me know the best way to achieve this.

Regards,
Kamal

.net version of this functionality is in beta now,
so it will be released with a nearest scheduler update(aprox. in a month)

For now you may try to parse ical manually, if you don’t need recurring events support, it shouldn’t be very difficult(otherwise you’ll have to check scheduler’s and ical’s formats for recurrence, which available here http://www.kanzaki.com/docs/ical/rrule.html and here http://scheduler-net.com/docs/recurring_events.html#format_details)
Or you may try some third-party libs to parse it