• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Project should be viewed on one LMS only - is it possible?)

New Here ,
Aug 11, 2020 Aug 11, 2020

Copy link to clipboard

Copied

Hi everyone!

 

Hope, you have more Captivate experience than I do and will kindly assist me. 

My issue is as follows: one of the courses I `ve recently created is to be viewed on one particular LMS and not anywhere else. First my plan was to do it via Adv. Actions (if\else conditions) when entering the 1st slide  however I failed to find any LMS-related system variables to base the action on it.

Do I got it right that the only option for me now is JavaScript? 

If someone gives an example how such script would look like, that would be jus great.

(Details: the script should check where a Scorm is launched - if it`s not url X, the project pop-up window is closed.

 

Any help is appreciated)

Sorry, if I missed similar topics.

Views

81

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Aug 11, 2020 Aug 11, 2020

Copy link to clipboard

Copied

LATEST

Not sure what you's want to do if not the correct LMS, but this script can determine if it is true or not:

 

var correctLMS = window.location.toString().indexOf( 'yourIdentifier' ) !== - 1 ? true : false;

if ( !correctLMS )
{
//DO SOMETHING
}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources