Configuring Terms

Josh Holtzman - March 30, 2007

Terms are no longer in sakai.properties [as of Sakai 2.4]. The list of terms (or "AcademicSessions", as they are know in CM), are now managed by the CourseManagementService. You can change which AcademicSessions show up by adding new (or modifying the start and end dates on existing) records in the cm_academic_session_t table.

Currently, there is no UI to do this, so you have two choices: First, you can use an external tool to issue sql insert or update commands. I use Oracle SQL Developer when connected to Oracle, and I use the mysql and hsqldb utilities that come with the server installs. The other option is to write code for sakai that calls the CourseManagementAdministration service. This could be a quartz job, or a sash something-or-other, or better yet, a webapp that allows you to add/modify academic sessions!

The following approach to configuration is deprecated as of Sakai 2.4. Use above approach instead for recent versions of Sakai.

John Leasia

Have a look at the sakai.properties file (located by default in C:/sakai/sakai/localfiles/sakai.properties for example) the following can be modified. The termiscurrent value that is true is the term that shows up in the dropdown as the default.

# term terms
termterm.count=11
termterm.1 = FALL
termterm.2 = WINTER
termterm.3 = SPRING
termterm.4 = SPRING_SUMMER
termterm.5 = SUMMER
termterm.6 = FALL
termterm.7 = WINTER
termterm.8 = SPRING
termterm.9 = SPRING_SUMMER
termterm.10 = SUMMER
termterm.11 = FALL

# term years
termyear.count=11
termyear.1 = 2003
termyear.2 = 2004
termyear.3 = 2004
termyear.4 = 2004
termyear.5 = 2004
termyear.6 = 2004
termyear.7 = 2005
termyear.8 = 2005
termyear.9 = 2005
termyear.10 = 2005
termyear.11 = 2005

# term titles
termlistabbr.count=11
termlistabbr.1 = F03
termlistabbr.2 = W04
termlistabbr.3 = Sp04
termlistabbr.4 = SpSu04
termlistabbr.5 = Su04
termlistabbr.6 = F04
termlistabbr.7 = W05
termlistabbr.8 = Sp05
termlistabbr.9 = SpSu05
termlistabbr.10 = Su05
termlistabbr.11 = F05

# term titles
termiscurrent.count=11
termiscurrent.1 = false
termiscurrent.2 = false
termiscurrent.3 = false
termiscurrent.4 = false
termiscurrent.5 = false
termiscurrent.6 = false
termiscurrent.7 = false
termiscurrent.8 = true
termiscurrent.9 = false
termiscurrent.10 = false
termiscurrent.11 = false

# time format: yyyyMMddHHmmssSSS
# term start time
termstarttime.count=11
termstarttime.1 = 20030901000000000
termstarttime.2 = 20040101000000000
termstarttime.3 = 20040501000000000
termstarttime.4 = 20040515000000000
termstarttime.5 = 20040801000000000
termstarttime.6 = 20040901000000000
termstarttime.7 = 20050101000000000
termstarttime.8 = 20050501000000000
termstarttime.9 = 20050515000000000
termstarttime.10 = 20050801000000000
termstarttime.11 = 20050901000000000

# term end time
termendtime.count=11
termendtime.1 = 20031201000000000
termendtime.2 = 20040501000000000
termendtime.3 = 20040801000000000
termendtime.4 = 20040801000000000
termendtime.5 = 20040801000000000
termendtime.6 = 20041201000000000
termendtime.7 = 20050501000000000
termendtime.8 = 20050801000000000
termendtime.9 = 20050801000000000
termendtime.10 = 20050801000000000
termendtime.11 = 20051201000000000
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.