How to specify course category in IMS Enterprise file

How to specify course category in IMS Enterprise file

by Dallas Ray Smetter -
Number of replies: 1

When courses are auto-created via IMS Enterprise file, how can I specify which category the course(s) should go into?

Average of ratings: -
In reply to Dallas Ray Smetter

Re: How to specify course category in IMS Enterprise file

by Adam Barbary -

Sorry Dallas,

I have just seen this, then I checked the docs and noticed that this part is missing from the sample code. The part that creates and assigns categories is the <org> <orgunit> tags

<?xml version="1.0" encoding="UTF-8" ?>
<enterprise xmlns="" xmlns:moodle="http://docs.moodle.org/en/IMS_Enterprise">
<properties>
<datasource>Course Creator</datasource>
<datetime>2012-01-01T09:49:25</datetime>
</properties>
<group>
<sourcedid>
<source>IMS Enterprise</source>
<id>TEST COURSE1</id>
</sourcedid>
<description>
<short>TEST COURSE1</short>
<long>TEST COURSE1: This will be visible as the course name
</description>
<org>
<orgunit>TESTS</orgunit>
</org>
</group>
</enterprise>