Copy link to clipboard
Copied
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!
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
Copy link to clipboard
Copied
For html5 it is in c:program files/adibe/captivate.../htm/index.htm
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
that is the file captivate uses to publish, you shouldn't need to edit it every time. You are publishing to html5 correct?
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Great idea, thank you!
Copy link to clipboard
Copied
I meant put an "include" in the index file. Darn autocorrect!
Copy link to clipboard
Copied
Understood, thank you!