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

adding custom functions to index_scorm.html automatically?

Participant ,
May 09, 2016 May 09, 2016

Hello!  I have several functions that I need to add to the index file every time I publish a new version of a course.

Is there a way inside Captivate to tell it to add those functions automatically each time I publish a new version, so I dont need to manually add them every time?

Thank you!

542
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

correct answers 1 Correct answer

People's Champ , May 09, 2016 May 09, 2016

What I would do is put a js file in the html/assets/is folder and put an incident in the index file, that way you can keep adding functions or create project specific is files and change the include

Translate
People's Champ ,
May 09, 2016 May 09, 2016

For html5 it is in c:program files/adibe/captivate.../htm/index.htm

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
Participant ,
May 09, 2016 May 09, 2016

Thank you for your reply!  Yes, currently I have to navigate to that file, open it in an editor and add functions manually every time I republish it.  I was wondering if there's a way to tell Captivate to add custom functions automatically when a course is published, so I dont have to do it by hand.

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
People's Champ ,
May 09, 2016 May 09, 2016

that is the file captivate uses to publish, you shouldn't need to edit it every time. You are publishing to html5 correct?

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
Participant ,
May 09, 2016 May 09, 2016

Oh, I'm sorry, I misunderstood your answer!  Thank you for clarifying!

I suppose that would mean I will have to edit that particular html file when I work on a different course?  There's no way to auto populate functions inside a newly published htmls on a per-project basis from inside Captivate?

Thank you again!

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
People's Champ ,
May 09, 2016 May 09, 2016

What I would do is put a js file in the html/assets/is folder and put an incident in the index file, that way you can keep adding functions or create project specific is files and change the include

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
Participant ,
May 10, 2016 May 10, 2016

Great idea, thank you!

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
People's Champ ,
May 10, 2016 May 10, 2016

I meant put an "include" in the index file. Darn autocorrect!

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
Participant ,
May 10, 2016 May 10, 2016
LATEST

Understood, thank you!

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