localzuk Posted July 26, 2010 Posted July 26, 2010 (edited) I'm trying to create a report in SIMS.net which outputs the following information: Teacher Class Period Day of Week Week Cycle So, in other words, I want a giant text file output which lists the timetables for the staff, so I can use the data in a program. However, when I try to deal with 'timetable details' I get a bunch of information but no way to link the resulting classes to which period they take place in etc... Any clues as to which focuses I should be using? Edited July 26, 2010 by localzuk
Sivadam Posted July 26, 2010 Posted July 26, 2010 Have you tried the new Timetable Reports that the Summer Release has given us? You can 'print' a full staff timetable and then export it! As with NT4 Reports the format of this report is editable.
localzuk Posted July 26, 2010 Author Posted July 26, 2010 (edited) Ah, we only got the Summer release last week, so not really looked at new stuff yet. Looking at it now, it doesn't provide the export data in any meaningful manner. ie. it sticks the formatted timetable into a file - eg an excel file or an html file. Or, if I choose, an XML data file. If I export as HTML, the HTML is very poorly formatted - instead of using a single 'table' element, there are loads of them - making parsing that file very difficult. If I export as Excel, the data is again formatted oddly, making parsing of the file very difficult. It does look like you can provide an XSLT file to format things how you want, but then there is zero information on the XML schema to work with to create one. I just want a list really. Edited July 26, 2010 by localzuk
Sarconia Posted July 26, 2010 Posted July 26, 2010 Hmm... this seems to be similar to what you want... I created a report based on the Period (it's under the school focus in the report design). I then added the fields: Period Day Name TimeTableModel (this seems to pick up the cycle) Lessons (Sub Report) Class Name of the class Class teacher of the class It did give me a really long list... I hope it helps.
localzuk Posted July 26, 2010 Author Posted July 26, 2010 Thanks for the info Sarconia. Doesn't seem to work for me. I just get The Period (Fri 8 etc...) Day Name (Fri) a TimeTableModel (Model 1/Model 2) and then 2 blank columns. I've tried setting the effective date to the past (during term time), the future (during term time) and today. Zilch.
vikpaw Posted July 26, 2010 Posted July 26, 2010 Ah, we only got the Summer release last week, so not really looked at new stuff yet. Looking at it now, it doesn't provide the export data in any meaningful manner. ie. it sticks the formatted timetable into a file - eg an excel file or an html file. Or, if I choose, an XML data file. If I export as HTML, the HTML is very poorly formatted - instead of using a single 'table' element, there are loads of them - making parsing that file very difficult. If I export as Excel, the data is again formatted oddly, making parsing of the file very difficult. It does look like you can provide an XSLT file to format things how you want, but then there is zero information on the XML schema to work with to create one. I just want a list really. If you can output to XML, that's enough info to build a makeshift XSL. I've started playing with these, but it requires something as a start point. I've been doing it for registration reports to alter the output of days from mon-fri to sat-wed it's a bit of a head against wall. sarconia's report sounds the easiest thing, if you can get it to work. is the timetable applied for the next year...?
localzuk Posted July 27, 2010 Author Posted July 27, 2010 The timetable has been applied, yet the report still returns empty fields. I've decided to go down the 'figure out the excel sheet' route, as it is in a repeating pattern, so programmatically grabbing data from it won't be that hard, plus the instructions for creating a correctly formatted report for importing into my program will be simpler using just built in functionality, rather than needing extra .xlst files etc... Just wish I could automate it now.
Martin_W Posted August 17, 2010 Posted August 17, 2010 Hey Localzuk, can you explain how you use the xls files to get to the output you want? I have reformatted data using Excel before. Maybe it is not so hard to automate what you are doing.
localzuk Posted August 17, 2010 Author Posted August 17, 2010 Hey Localzuk, can you explain how you use the xls files to get to the output you want? I have reformatted data using Excel before. Maybe it is not so hard to automate what you are doing. I've managed to process it using c sharp now thanks. I'll post some details on my blog at some point!
Martin_W Posted August 17, 2010 Posted August 17, 2010 Ok, that's a nice solution too (although it would have been nice if SIMS itself would output format the data in a nice way, but hey
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now