Instructors and Preferences Import

24 views
Skip to first unread message

nguyen phu

unread,
Oct 7, 2025, 4:02:49 AM10/7/25
to UniTime Discussion Group
Hi,

I uploaded the instructors using xml , 
but when import Preferences , the log said that no such instructors (Instructor 320 does not exist (department not-set).) 

I do see the Instructor ID: 320 in the instructors list, and I did the tick to move to the list of department instructor

I am stuck at Preferences to set up the free time for instructors to have classes

I would like to know where I am wrong, the department setup or the preferences

Thank you,

Tomáš Müller

unread,
Oct 7, 2025, 8:11:52 AM10/7/25
to unitime...@googlegroups.com
Hi Nguyen,

Importing the Staff XML will only populate the Staff table. You need to use the Manage Instructors List (located on the Instructors page) to assign them to a particular department.

The Preferences XML matches the instructor's external ID and department (using department code) for which the preferences are to be set (both the externalId and department attributes of the instructor element need to be filled in). 

Best regards,

Tomas Muller

--
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/f6603d61-591f-445a-ad10-3743365d8dfen%40googlegroups.com.

nguyen phu

unread,
Oct 7, 2025, 10:22:35 PM10/7/25
to UniTime Discussion Group
Dear Tomas,

Thank you for your answer.

Vào lúc 19:11:52 UTC+7 ngày Thứ Ba, 7 tháng 10, 2025, Tomáš Müller đã viết:

nguyen phu

unread,
Oct 8, 2025, 4:12:16 AM10/8/25
to UniTime Discussion Group
Dear Tomas,

Let say I have 64 students, split into 2 Lecture 
That same 64 student split into 3 Laboratory

How can I declare classes like that using xml

Thank you Tomas,

Vào lúc 09:22:35 UTC+7 ngày Thứ Tư, 8 tháng 10, 2025, nguyen phu đã viết:

Tomáš Müller

unread,
Oct 8, 2025, 8:38:33 AM10/8/25
to unitime...@googlegroups.com
You would have a course with two subparts: the Lecture subpart would have two classes, and the Lab subpart would have three. So, the offerings XML would look like this:

<?xml version="1.0" encoding="UTF-8"?>
<offerings campus="woebegon" year="2010" term="Fal" incremental="true">
<offering offered="true">
<course subject="ENGR" courseNbr="102" controlling="true" title="Freshman Engineering"/>
<config name="1" limit="64">
<subpart type="Lec" suffix="" minPerWeek="100"/>
<subpart type="Lab" suffix="" minPerWeek="100"/>
<class type="Lec" suffix="1" limit="32"/>
<class type="Lec" suffix="2" limit="32"/>
<class type="Lab" suffix="1" limit="22"/>
<class type="Lab" suffix="2" limit="21"/>
<class type="Lab" suffix="3" limit="21"/>
</config>
</offering>
</offerings>

If you are uncertain how a particular course would be modeled in the XML, you can set it up manually in UniTime and use the Course Offerings export on the Data Exchange to see what the XML would look like.

Best regards,

Tomas

nguyen phu

unread,
Oct 8, 2025, 9:33:32 PM10/8/25
to UniTime Discussion Group
Dear Tomas,

Thank you so much for your answer,

Vào lúc 19:38:33 UTC+7 ngày Thứ Tư, 8 tháng 10, 2025, Tomáš Müller đã viết:
Reply all
Reply to author
Forward
0 new messages