Tag Archives: SQL

iSAMS to Moodle Sync – One Year On

So we have been running my iSAMS to Moodle sync for over a  year now at my school and I thought it was probably time to write an update about how it has gone and what changes I have had to make to the system.

This July we had our first academic roll-over with the system in place and this highlighted a few things which need adjusting.

I had been thinking about the best way we could set courses up within Moodle using the iSAMS sync for some time and decided that the best way to continue was to allow the iSAMS sync courses to operate purely as enrolment courses and to be connected to the “live” Moodle courses using the “Course Meta Link” functionality of Moodle.

Continue reading iSAMS to Moodle Sync – One Year On

Moodle User Pictures from iSAMS

Having linked our Moodle installation with iSAMS to automate course creation and enrolment I began looking around at what other things we could link up and automate. Whilst spending some time on the Moodle forums, I came across this post: https://moodle.org/mod/forum/discuss.php?d=272020 which linked to a command line script someone had added to the Moodle Docs to allow for synchronisation of user profile pictures.

Continue reading Moodle User Pictures from iSAMS

iSAMS to Moodle Course Enrolment – Part 3

This is the third post about setting up iSAMS and Moodle to perform course and user enrolment synchronisation. Here are links to the other sections:

  1. Prerequisites and Assumptions
  2. Part 1 – Setting up your MSSQL Server
  3. Part 2 – Setting up your Apache / PHP server
  4. Part 3 – Setting up Moodle

Set up Moodle to read our iSAMS Data

So now we have a LAMP server configured ready for Moodle which can also read our MSSQL database with all the course enrolment data we are copying over from iSAMS; it is time to get Moodle configured.

Continue reading iSAMS to Moodle Course Enrolment – Part 3

iSAMS to Moodle Course Enrolment – Part 2

This is the second post about setting up iSAMS and Moodle to perform course and user course enrolment synchronisation. Here are links to the other sections:

  1. Prerequisites and Assumptions
  2. Part 1 – Setting up your MSSQL Server
  3. Part 2 – Set up Apache to connect to MS SQL Server
  4. Part 3 – Setting up Moodle

Set up Apache to connect to MS SQL Server

We now need to configure our LAMP / Moodle server to be able to talk to MSSQL so that we can retrieve the data we prepared in our new database in the previous post. Again you will need to have already set up your LAMP / Moodle server by this point. Please either set it up as per the official Moodle documentation or as per my previous post; then come back here.

Continue reading iSAMS to Moodle Course Enrolment – Part 2

iSAMS to Moodle Course Enrolment – Part 1

I have begun looking at using Moodle at my school and how we can integrate it into our existing databases so to remove as much administrative burden as possible. I have used Moodle on and off for many years now and one of the first things I always do is set it up to use LDAP Authentication for its log-ons. This makes it really easy to allow users to use their Active Directory log-ons to access your Moodle install. I will not go in to details of that here as it is already well documented over on the Moodle Docs site.

However, one thing that had always proved harder for me with Moodle was the integration of course / class enrolments with the MIS that the school was using. Previously that has normally been Capita SIMS. Capita’s licensing meant I was not allowed to play around in the database back-end of that system to try and create a streamlined process. My current school however uses iSAMS for its MIS system and with this system all custom reporting is done through Microsoft’s SSRS. The upshot of this is that you have full access to the MSSQL database back-end of your MIS and you can begin to manipulate the data using the tools that Microsoft provide you with MSSQL. With this in mind I began looking at the Moodle External Database Enrolment Module to see if we could get a live link between our Moodle install and the course enrolment data already being held and maintained in our school MIS, iSAMS.
Continue reading iSAMS to Moodle Course Enrolment – Part 1