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

call functions from External Javascript libraries in Adobe Captivate Js Window

Explorer ,
Nov 29, 2022 Nov 29, 2022

Hey,

 

i am tryring to add an external Javascript library in Captivate (https://underscorejs.org/). I want to call functions from this Library in the Captivate JavaScript Window but I can reach the functions.

 

I added the library like this:

var lJSFiles = [ @JSFILES_ARRAY , 'assets/Underscorejs.js' ];
TOPICS
Advanced , Advanced actions , Getting started , Import export , Project upgrade
384
Translate
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
Explorer ,
Nov 29, 2022 Nov 29, 2022

Correction : i can't reach to the Library functions in the  Js window in Captivate *

Translate
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
Advisor ,
Nov 29, 2022 Nov 29, 2022
LATEST

Have you downloaded a copy of the .js file?

This copy would need to also be present in the assets folder with the exact same name.

Did you rename the file at all?

Case sensitive.

 

To be clear - are you also adding this to the HTML file found in the Captivate installation folder or the published file?

Translate
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