Importing External Tool

Importing External Tool

by Robert Schrenk -
Number of replies: 4
Picture of Core developers Picture of Plugin developers

Hello,

I have courses with pre-configured External Tools and I want users to be able to import those external tools into their courses using the webservice core_course_import_course.

In the source-course the tool is correctly configured, but after the import all information about the external tool is lost. This is the case if I use a preconfigured external tool as well as if it is a custom external tool. 

Can anybody tell me if I am doing something wrong or if it needs something special for importing ?

Kind regards

Robert

Attachment tool_1_source.jpg
Attachment tool_2_imported.jpg
Average of ratings: -
In reply to Robert Schrenk

Re: Importing External Tool

by Robert Schrenk -
Picture of Core developers Picture of Plugin developers

Just found out this was already asked here: https://moodle.org/mod/forum/discuss.php?d=338206#p1363463

In reply to Robert Schrenk

Re: Importing External Tool

by John Okely -

This is not yet implemented in moodle. There are a few technical and security implications. But it is being worked on  at https://tracker.moodle.org/browse/MDL-34161. The best thing you can do is vote and comment there or assist with the patch

Average of ratings: Useful (1)
In reply to John Okely

Re: Importing External Tool

by Robert Schrenk -
Picture of Core developers Picture of Plugin developers

Thank you very much! At least there is a small spot of light. I will have a look into this.

If I can I would contribute - what are the first steps?

In reply to Robert Schrenk

Re: Importing External Tool

by John Okely -

Marina has attached her patch to the issue. You can use git to apply it to your moodle instance (you will want to use a test instance at first)

E.g.

git init .

git pull git://github.com/marinaglancy/moodle.git MDL-34161-31

You'll need to read the comments to figure out what to do next, sounds like it is blocked by https://tracker.moodle.org/browse/MDL-36580