Forum Discussion

BenWilliams-718's avatar
BenWilliams-718
Community Member
2 years ago

Creating link between LMS (SabaCloud) and Virtual Machine provider (CloudShare) as JavaScript API

Hello Articulate Community!

I would like to create a link between my training hosted in Sabacloud (as the LMS) and Cloudshare to provide the students with access to a virtual lab.

I want to use a product like Storyline to create a slide which includes a button on screen. When pressed the JavaScript retrieves the students name and email from the LMS. Then sends a POST API request to CloudShare to generate a unique URL for that student to access their own virtual machine. This URL opens in a new tab and/or displays on screen. I then will publish this slide and upload to my LMS and include as a module within my course.

LMS-API-Example-Sequence_150720.png

 

Is this possible to configure a script in Storyline360 to do what I described above?  (I previously tried using LTI already but have been unable to configure it between Saba and Cloudshare).

Whilst I am not proficient in JS myself somebody else in my organization is ! I believe this code can be referenced as a: "HTML script tag or through a CommonJS require()"

Cloudshare documentation is here if you need more context:

https://support.cloudshare.com/hc/en-us/articles/360051848992-Using-the-CloudShare-API

https://docs.cloudshare.com/rest-api/v3/overview/using-the-rest-api

https://github.com/cloudshare/js-sdk

Kind regards,

Ben

  • Sounds quite interesting. Storyline for sure isnot LTI compliant, but that you already discovered. As for CommonJS - require( ) compatibility. I am not sure if you can get that working in Storyline. Storyline still is 32-bit and therefor a bit antique alas. Vanille Javascript for sure works, and i managed to get a lot of APIs working..