o365-moodle icon indicating copy to clipboard operation
o365-moodle copied to clipboard

No longer able to map sds course fields to moodle courses

Open cbrherms opened this issue 2 years ago • 3 comments

Recently updated to the latest version of the plugin for Moodle 3.9.

While the new sds features seem great and faster, one thing we've noticed is we can now no longer map sds course properties to the moodle courses during creation.

Previously we would map "Section Name" to "Course short name" and "Course Name" to "Course full name".

Is it possible for this mapping to be reimplemented?

cbrherms avatar Aug 23 '22 22:08 cbrherms

Hi @cbrherms,

First of all, I'd like confirm the current details used to create Moodle course in SDS sync:

  • The integration calls to the List education classes API to get the list of classes (sections) in a school.
  • This returns a list of educationClass resources.
  • For each of the educationClass resource received, the integration uses the mailNickname property as course short name (since this needs to be unique, matching the uniqueness requirement of Moodle course short names), and the displayName property as course full name.

Could you review and confirm the workflow above doesn't match your requirements please. If that's the case, what properties do you want to match to?

Note we may not be able to change the existing workflow, but what we can do is to introducing settings to allow site admins to pick which properties to use in the mapping. There will be restrictions on which properties can be used (e.g. to ensure the uniqueness of course short names etc). Another potential problem for you is new changes will only be made for Moodle 3.11/4.0 since they are the only versions with feature and bug fix support at the time of writing, and since you are using 3.9, you may need to port it manually when it's ready.

Regards, Lai

weilai-irl avatar Sep 06 '22 11:09 weilai-irl

To think it's been almost a year... Apologies! Last year, I believe we ended up having to rename all the courses in Moodle to bring them in line with how we wanted them to be seen.

This year, running Moodle 4.1.4 and O365 integration version 4.1.2, but it looks like there's been no further changes to the SDS sync settings.

Is it still a case that the re-adding the ability to map properties is is up for consideration as a feature update?

cbrherms avatar Aug 18 '23 13:08 cbrherms