Timetable Export and Importing Instructor Constraints

9 views
Skip to first unread message

burak koşar

unread,
Dec 15, 2025, 8:04:21 AM12/15/25
to unitime...@googlegroups.com, hakan.g...@izu.edu.tr

Dear Tomáš,

We have two questions regarding UniTime:

1. Timetable Export
Is it possible to export generated timetables in CSV or XLSX format?
If so, could you please indicate where this is available (UI or reports), or if there is a recommended approach?

2. Importing Instructor Constraints
Is there a way to import instructor distribution preferences in bulk, instead of entering them manually through the UI?

By constraints, we mean the following Distribution Preferences:

  • At Least 1 Hour Between

  • At Most 5 Hours A Day

  • Back-To-Back

  • Less Than 6 Hours Between

We would like to know whether these can be imported via XML, database scripts, or another supported method.

Thank you for your guidance.

Best regards,
Burak

Tomáš Müller

unread,
Dec 15, 2025, 9:49:09 AM12/15/25
to unitime...@googlegroups.com, hakan.g...@izu.edu.tr
Dear Burak,

Ad 1) Yes, most pages have CSV and/or XLS exports. For exporting a generated timetable, either the Export Solution button on the Courses > Course Timetabling > Solver page (for a solution loaded in the solver) or Courses > Input Data > Class Assignments (otherwise). Also, the Courses > Course Timetabling > Timetable Grid page has an XLS export that is a grid.

Ad 2) The Preferences XML (see https://www.unitime.org/interface/preferences.xml for an example) can be used to import instructor preferences, including distribution preferences. It uses the distribution type references available on the Administration > Solver > Distribution Type page. A possible drawback could be that it is expected to import all an instructor's preferences, so for instructors listed in the XML, the import will reset their preferences to those in the XML file.

Another option is to create a script (via Administration > Utilities > Scripts) that would import only the distribution preferences.

Best regards,

Tomas

--
You received this message because you are subscribed to the Google Groups "UniTime Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unitime-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/unitime-discuss/CAKtsfhQLM1vMwAqm6uEAvXE%3Dq5F9OVitC9BEgN6T1J0NAHovpQ%40mail.gmail.com.

burak....@gmail.com

unread,
Dec 18, 2025, 6:11:42 AM12/18/25
to UniTime Discussion Group
Dear Tomáš,  

Thank you for the clear and detailed explanation.
This answers our questions well and gives us a clear direction to proceed.    
Thanks again for your support.  

Best regards, Burak

15 Aralık 2025 Pazartesi tarihinde saat 17:49:09 UTC+3 itibarıyla Tomáš Müller şunları yazdı:
Reply all
Reply to author
Forward
0 new messages