iCal Export/Import Tool for dhtmlxScheduler

| Comments (16)

Having provided a web-based scheduling solution, dhtmlxScheduler, we understand the importance of being able to share events and tasks between users or devices, which is often done via iCal format. Due to its popularity, iCal is widely used by many companies in their applications and software (e.g., Google Calendar, MS Outlook, Mac OS X, etc.). That’s why we created something that allows you to quickly and easily export/import iCal data to/from dhtmlxScheduler. This ‘something’ is a new utility – “iCal exporter”.

Before, dhtmlxScheduler could load only simple events from the iCal format and had some issues with recurring events. The tool we’re presenting today will allow you to transfer the events data from the iCal format to the format readable by dhtmlxScheduler, and vice versa (from dhtmlxScheduler to iCal). This will give you an effective way to export dhtmlxScheduler data to/from MS Outlook or Google Calendar.

dhtmlxScheduler - Import from iCal - Web Interface

dhtmlxScheduler - Import from iCal - Web Interface

This “iCal exporter” tool has a simple web interface where you can set some resource and database configuration options. Alternatively, you can insert the code of the “exporter”, a set of PHP classes, into your own application to provide iCal export functionality for the scheduler “behind the scenes”.

With this tool you can export iCal files to XML format and use it to populate the scheduler with data, or to an Array, as an intermediate variant. All related information is already in the dhtmlxScheduler documentation where you can find all the details:

download scheduler


  1. Jeremy D'Arcy December 8, 2010 at 12:58 am

    Will this tool work to import a calendar from Outlook?

    • ivan December 8, 2010 at 1:01 pm

      Yep, you can save data from Outlook as ical, and import it in the scheduler.
      (by the way, if you’re not using recurring events, the calendar events can be imported directly, without any tools)

  2. Haydn Marshall March 9, 2011 at 4:04 pm

    I am very new to PHP and WordPress, please can you point me to a guide on how to use the import script/tool shown above, to import from an ical file to my DB?

    Any help would be hugely appreciated.

  3. Haydn Marshall March 9, 2011 at 7:53 pm

    Well, seems support wasn’t able to help me before I worked it out.

    Here’s what to do for anyone not in the know…

    Download the zip file ical2schedule.zip
    Navigate to your wordpress install on your webserver.
    Navigate to wp-content/plugins/event-calendar-scheduler (make sure the plugin is installed)
    Add index.php from extracted folder to this folder.
    Copy all files from the codebase file from extract and paste into existing codebase folder in web directory.
    In browser, navigate to http:// yoursite.com /wp-content/plugins/event-calendar-scheduler/index.php and you will be see the page above!

    Good times

    • ivan March 9, 2011 at 8:22 pm

      Haydn, thank you for sharing your experience.
      Please note that if you have any technical questions, it’s better to submit them to the forum:
      http://forum.dhtmlx.com/ (registration is free)

  4. Maurice March 17, 2011 at 12:14 pm

    Hi all,

    Is there a way to generate a permanent iCal file? Let’s say, that it is updated after every edit in the scheduler?


    • ivan March 18, 2011 at 2:16 pm

      Yep, you can save data from the scheduler in the DB, as normally.
      Just add some extra logic in normal saving callback, which will use ICalExporter class. Check:


      • Maurice March 18, 2011 at 6:19 pm


        But unformtunately, I can’t seem to figure it out :(

        I just haven’t got any clue:
        1) where and how to create a trigger (you call it ‘saving callback’)
        2) which code I should use after that trigger

        I am now using:



        Result: a white screen
        But there isn’t created a file called ical.ics at all.

        Do you have any more ideas?

        Thanx in advance for your reply,

  5. Ron Sell June 17, 2011 at 7:17 pm

    will this allow me to keep my google calendar account in sync with my scheduler calendar? Like, add an event to the scheduler and it automatically shows up on my google cal and vice versa?

    • ivan July 29, 2011 at 11:55 am

      Ron, unfortunately it will not.

  6. jlew5 October 11, 2011 at 9:52 pm


    The import utility uses php. Is there a java version?

    • Ivan October 14, 2011 at 7:02 pm

      There is no a JAVA version yet.

  7. Diana Johns December 24, 2011 at 10:49 pm

    Is is possible to import more than one iCal file at a time?

  8. Stanislav December 26, 2011 at 1:33 pm

    UI doesn’t allow it, but you can use underline php class to import as many files as necessary.

  9. hifzur June 16, 2016 at 3:37 pm


    I am using dhtmlx 4.3.35 enterprise version with java connector.
    Is it possible to implement appointment reminder ??I want to send the appointment notification to the client via email or SMS how i can do this with dhtmlx? Please help me out in this
    Thank you :)

Leave a Reply