Copy link to clipboard
Copied
I got a CPM.js located in C:\Program Files\Adobe\Adobe Captivate 2019 x64\HTML\assets\js.
I tried to update the index.html file to use the above file and put the following line before /head:
</script>
<script type="text/javascript" src="C:\Program Files\Adobe\Adobe Captivate 2019 x64\HTML\assets\js\CPM.js"></script>
However, when I look at the CPM.js file that is produced after publishing, I do not see the custom CPM.js file change reflected.
I used to have this working, but needed to do a reinstall and forgot how to make this work again. Any pointers would be greatly appreciated.
Copy link to clipboard
Copied
I've only copied and pasted any custom CPM.js into my final published project. I've never tried to have a custom index.html file point to a custom CPM.js file. It's more of a manual process but copying pasting the edited version, although manual, works fine.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Just change the name, it is more than likely getting overwritten when Captivate creates it's CPM.js