Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Moodle backup of lams activities


 
Search: 

4: Re: Re: Re: Moodle backup of lams activities
In response to 3 02/09/09 04:18 PM
[ Reply | Forward ]
Dave, Jun-Dir,

I know there's a webservice interface in LAMS to import sequences from the file system. That's what I use when people upload sequences into the LAMS Community, I "push" them to LAMS telling it where to get the zip file from the file system. That works quite well.

However, I don't think we have an import call from webservices.

Dave, let me find out if we can create one for you easily and we get back to you.

Thanks,

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: Re: Moodle backup of lams activities
In response to 4 02/10/09 10:49 PM
[ Reply | Forward ]
I have added functionality like this to LearningDesignRepositoryServlet. See http://bugs.lamsfoundation.org/browse/LDEV-2129

Now a call like this will return an exported sequence in the request:

http://172.20.100.188:8080/lams//services/xml/LearningDesignRepository?method=exportLD&learningDesignID=1&format=1&datetime=xxx&serverId=xxx&username=xxx&courseId=xxx&country=xx&lang=xx&mode=1&hashValue=xxx

Added parameters:
&method=exportLD
&learningDesignID=1 -The learning design id that you want to export
&format=1 -The format you want to export in (1=zip, 2=IMS)

These changes will be included with 2.3

Posted by Luke Foxton

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum