Picture of Rob Mausser
Change Adapt settings from the LMS
by Rob Mausser - Monday, 12 June 2023, 3:37 PM
 

We have some Adapt courses we have created and we own and built the LMS they sit on.

Is there a way to pass Adapt variables in some way from the LMS to change some course settings depending on what user or session is created?

 

We have the pages locked on a course but we want them to be unlocked for some users.

So we'd want to change "_lockType": "sequential", to "none" from the LMS when the course launches.

Id rather not make 2 versions of the same courses for fragmentation reasons. 

Thanks!

Picture of Mike Stevens
Re: Change Adapt settings from the LMS
by Mike Stevens - Monday, 12 June 2023, 7:36 PM
 

Hi Rob,

You can just use the Dev Tool extension to unlock menu's, pages or assessments without a second version of the course needed...
https://github.com/cgkineo/adapt-devtools

Picture of Rob Mausser
Re: Change Adapt settings from the LMS
by Rob Mausser - Tuesday, 13 June 2023, 9:36 PM
 

Thanks for the suggestion!

Since we can't have devtools on our live instance of the course, this would mean we would have to create another set of courses with devtools installed anyways. 

Picture of Oliver Foster
Re: Change Adapt settings from the LMS
by Oliver Foster - Tuesday, 13 June 2023, 1:43 PM
 

It’s probably easier to maintain two versions.

Otherwise, you could make a custom schema, with a custom launch url, adding a query string at the end of the index_lms.html line “&setting=true”.

https://github.com/adaptlearning/adapt-contrib-spoor/blob/master/scorm/1.2/imsmanifest.xml#L26

Then you’d need an extension which read that in and changed the config for you.

Picture of Rob Mausser
Re: Change Adapt settings from the LMS
by Rob Mausser - Tuesday, 13 June 2023, 9:34 PM
 

Thanks for the reply!