that's not something that is currently supported but it is something I'd like to implement one day - feel free to add your vote to: https://tracker.moodle.org/browse/MDL-61677
If you need it faster and you are able to provide some funding to complete that work you might consider contracting your local Moodle Partner to develop a patch that does this and submit it to Moodle core for a future release.
FWIW - I have tried to hardcode the URL for the next activity into the SCORM package and it treats the area the SCORM package displays like an iFrame and opens the next activity as a window within a window:
"Getting Started" is the first SCORM activity and "BUILDER SMS" is the second. I have tried relative links and absolute links from the SCORM to the second activity and both do this window within a window thing.
Also, if I tell the SCORM package to "Exit Course" instead of "Jump to URL" I then get a message from Moodle that the activity has ended and the user may close the window, but I am not opening the SCORM in a new window. I am opening it within the same browser window because too many of our learners were getting confused by having new windows open for every SCORM package.
I've created all the activities in a course backwards and added links to the end of the scorm package(s) that close the SCORM activity and open the new one (then publish the package and load it to Moodle. It is a little clunky to build, but it works pretty well.
I sent you a message requesting this too, but wanted to cover my bases to get a response asap as I'm at a point in my development where this is pretty critical.
What method are you using to "close the SCORM activity and open the new one" with links from within the SCORM package? I have tried doing the same and get the window within a window effect I shared above. Which authoring software are you using for your SCORM packages?
I currently use Captivate but I've done similar stuff with Lectora and could probably do it with Camtasia, if I felt inclined that way.
So, I'll describe a process I used recently--my course was IT Security and Data Privacy. My activities include a SCORM module, a quiz activity, a feedback activity and a certificate that generates when all the activities are done.
My SCORM got the largest portion of my attention, since it required a bunch of development time but once it was done, I did not publish it. Instead, I created my quiz and feedback activities. I didn't have to populate them right then, just create the place to put the questions. I copied the link to the quiz. I reopened my SCORM project (Captivate in this instance). I added a shape to the last page and set it up to be used as a button.
Because captivate is too complicated for its own good, I created an advanced action that does two things: One, close/exit this activity and two, go to a web address. I set the web address to the quiz link I copied earlier If I were using Lectora, I'd just add two actions to the button and be done with it. In captivate, I went back to my shape/button. On the on-success/exit action I set it to execute an advanced action and selected the advanced action I set up. Then I published my project and dropped it into Moodle.
In this particular instance, I made the quiz and feedback not visible but still accessible for students. I don't love this, it was at the request of the course owner (or the owner's boss); I'd prefer to just leave them hidden until the conditions are reached, but there you go. Once that's going, I went in and populated my quiz questions and my feedback questions. Then I made my certificate pretty and made sure all my conditions/completion criteria were correct and...four months later, 450 people have completed the course.
I'm using Articulate Storyline for our SCORM and I can add multiple steps to the final button. I had already added the link, but it opened the next activity within the SCORM viewing window. I put the order of the steps as "Exit Course" (Storyline's version of close/exit the SCORM) first followed by going to the link, but it didn't appear to work. It opened the next activity in the first activity's SCORM window again.
With your link to the next activity, do you create it as a standard link or is it meant to open in a new window? How about your SCORM activity? Does it open in the current window or a new one?
Okay. I believe I have found a solution that won't open a window within a window. I've been spending way too much time trying to figure out how Moodle handles the SCORM packages and the window they're displayed in. When I needed to just figure out a way to get the SCORM package to force the main window to follow the link instead of from within the iFrame window....
In the SCORM package, I made the "Next" button for the final slide perform a complex action like you do. The first thing is to close/exit the SCORM module so its score(s) will be recorded by Moodle. Then I have it send the link to the next activity using this format:
<a href="https://iomad.digonsystems.com/mod/scorm/view.php?id=24" target="_parent">
Hopefully I'm making myself clear, but feel free to hit me up with questions if I'm as clear as mud.
Wow! Looks like you're using Iomad, too, which I don't. I think that all looks like it should work. Different authoring tools work different ways. Captivate is kind of dumb but we don't really seem to have trouble with having to order actions. I remember having to order actions in Lectora, though. Glad you figured it.
This looks great.... now for me to try and implement it onto a whole heap of courses where users have been complaining about the user journey! Haha.
Would genuienly be as huge help if I can get it to work so thank you do much!!
Thanks for this. Any idea if this works ok on Moodle Mobile?
Sorry, but I have no idea if it works with Moodle Mobile or not because we're not using mobile services at this time.