I am trying to get add Moodle activities into Schoology as an external tool and I cannot get it to work. I went into the Moodle Sandbox and enabled all three of these things as suggested by the moodle docs page: https://docs.moodle.org/33/en/Publish_as_LTI_tool
- Go to Site administration > Plugins > Authentication > Manage authentication and enable LTI
- Go to Site administration > Plugins > Enrolments > Manage enrol plugins and enable 'Publish as LTI tool'
It is recommended that the site administration setting 'Allow frame embedding' is enabled (in "Site Administration > Security > HTTP security") so that tools are displayed within a frame rather than in a new window."
In the Moodle Sandbox site I created a one-question quiz and I tried to get the quiz to work on the basic edition of Schoology. If I put the launch cartridge URL from Moodle into the URL box on Schoology, I get this in Schoology when I try to launch the tool:
Quiz https://demo.moodle.net/theme/image.php/boost/theme/1496445138/faviconhttps://demo.moodle.net/theme/image.php/boost/theme/1496445138/favicon https://demo.moodle.net/enrol/lti/tool.php?id=1https://demo.moodle.net/enrol/lti/tool.php?id=1 https://demo.moodle.net/theme/image.php/boost/theme/1496445138/faviconhttps://demo.moodle.net/theme/image.php/boost/theme/1496445138/favicon Sandbox Moodle sandbox demo https://demo.moodle.net/
Placing the Moodle registration URL into the Schoology Parameters box does nothing. If I place the Moodle registration URL into the URL box on Schoology, it takes me to the Moodle demo site with an error and then leads me to the main Moodle Sandbox page.
I made sure to complete all of this before the Sandbox site reset itself.
Anyone get Published Moodle LTI tools to work in Schoology? If so, could you elaborate on how to get it to work?
Just as an update. I created the LTI tool in the moodle sandbox like I did before and added it as an external tool in Moodle v 2.9 that I am currently running. Moodle 2.9 spits out the same thing as Schoology does when I run the external tool. I wonder if I am missing an admin setting or something.
Thanks for the reply. If I do that and post into Schoology, I just get the error message "Sorry, there was an error connecting you to the application."
If I create an LTI tool in the Moodle Demo Sandbox, I can't even it it to work when I add it as an external tool to the Mount Orange Demo Moodle Site. This is the error that the Mount Orange site gives me "An error occurred when launching the external tool:Sorry, there was an error connecting you to the application."
Is it possible that LTI tools published with the Moodle Demo Sandbox cannot actually be run due to some setting?
Before I know that it is an error with Schoology, I should be sure to get it working in Moodle first. I would think that Moodle published LTIs should be compatible with Moodle.
Are you also copying the secret and typing in a consumer key?
Moodle LTI published tools are compatible with Moodle
The Mount Orange site cannot seem to use an external tool from the Moodle sandbox site. It loads the icon ok on the main page, but gives this error when trying to import a news forum as an external tool "An error occurred when launching the external tool:Sorry, there was an error connecting you to the application."
Thanks for doing that Mary. I published one of the news forms on the mount orange school site as an LTI tool and tried to import it into Moodle 2.9 as an external tool. When I use the .xml link, the screen is blank. When I try the LTI v 1 link, it says that it is not supported. Did you enable frame embedding on the mount orange site?
I was able to get it to work eventually, but I had to publish as an LTI tool on a different Moodle site than either the Moodle sandbox or the Mount Orange site. I am wondering if those sites have some sort of setting preventing it from working.
LTI tools from Moodle do appear to work in Schoology (I tried the forum as well as quizes with question types multiple choice and drag and drop into text). However, Schoology only uses LTI v 1.0, so I had to change the link from the v 2.0 .xml that Moodle originally gives you.
Thanks for all your help Mary and John.
I can get the LTI to work and it will pass quiz grades from Moodle to Schoology.
What I cannot get to work is to have Schoology pass the student's name to Moodle. Right now when I log into Moodle, the student name is listed as something like "enrol_lti6bc413f070ac15e35789037218a672880c523ebb" instead of the student's actual name. Is there some setting when I can get the student's actual name passed to Moodle?
This will make it easier for me to review any student attempts. Thanks!